Skip to content

#40dfe2

a balanced, vivid cyan · cool · closest name: turquoise

RGB
64, 223, 226
HSL
181°, 74%, 57%
CMYK
72, 1, 0, 11
Luminance
0.5936

Every format

HEX#40dfe2
RGBrgb(64, 223, 226)
HSLhsl(181, 74%, 57%)
CMYKcmyk(72%, 1%, 0%, 11%)
LABlab(81.5 -38.7 -13.3)
LCHlch(81.5 40.9 198.9)
OKLCHoklch(0.826 0.127 196.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40dfe2 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#40dfe2 on black: 12.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue88.6%

CMYK percentages

Cyan71.7%
Magenta1.3%
Yellow0.0%
Key (black)11.4%

Color previews

#40dfe2 text on a black background

contrast 12.87:1

Card sample

#40dfe2 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 223, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 223, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40dfe2;
background: linear-gradient(135deg, #40dfe2, #4073E2);

Monochromatic scale

Palettes built from #40dfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40dfe2 in the Color Lab