Skip to content

#40c0ff

a balanced, electric cyan · cool · closest name: skyblue

RGB
64, 192, 255
HSL
200°, 100%, 63%
CMYK
75, 25, 0, 0
Luminance
0.4601

Every format

HEX#40c0ff
RGBrgb(64, 192, 255)
HSLhsl(200, 100%, 63%)
CMYKcmyk(75%, 25%, 0%, 0%)
LABlab(73.5 -14.4 -40.9)
LCHlch(73.5 43.4 250.6)
OKLCHoklch(0.765 0.141 234.8)

Copy-ready code

/* CSS */
color: #40c0ff;
background-color: #40c0ff;
/* Tailwind (arbitrary) */
class="text-[#40c0ff] bg-[#40c0ff]"
/* SCSS */
$brand: #40c0ff;
/* SwiftUI */
Color(red: 0.251, green: 0.753, blue: 1.000)
/* Android */
Color.parseColor("#40c0ff")

Accessibility — WCAG contrast

Aa
#40c0ff on white: 2.06:1
AA ✗ fail · AA-large · AAA
Aa
#40c0ff on black: 10.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green75.3%
Blue100.0%

CMYK percentages

Cyan74.9%
Magenta24.7%
Yellow0.0%
Key (black)0.0%

Color previews

#40c0ff text on a black background

contrast 10.20:1

Card sample

#40c0ff text on a white background

contrast 2.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #40c0ff;
Background color
Panel with #40c0ff background
background-color: #40c0ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #40c0ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 192, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 192, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c0ff;
background: linear-gradient(135deg, #40c0ff, #4040FF);

Monochromatic scale

Palettes built from #40c0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c0ff in the Color Lab