Skip to content

#40c2f9

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

RGB
64, 194, 249
HSL
198°, 94%, 61%
CMYK
74, 22, 0, 2
Luminance
0.4651

Every format

HEX#40c2f9
RGBrgb(64, 194, 249)
HSLhsl(198, 94%, 61%)
CMYKcmyk(74%, 22%, 0%, 2%)
LABlab(73.9 -17.4 -37.2)
LCHlch(73.9 41.1 244.9)
OKLCHoklch(0.767 0.135 230.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c2f9 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#40c2f9 on black: 10.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green76.1%
Blue97.6%

CMYK percentages

Cyan74.3%
Magenta22.1%
Yellow0.0%
Key (black)2.4%

Color previews

#40c2f9 text on a black background

contrast 10.30:1

Card sample

#40c2f9 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 194, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 194, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c2f9;
background: linear-gradient(135deg, #40c2f9, #4047F9);

Monochromatic scale

Palettes built from #40c2f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c2f9 in the Color Lab