Skip to content

#40dfd4

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

RGB
64, 223, 212
HSL
176°, 71%, 56%
CMYK
71, 0, 5, 13
Luminance
0.5862

Every format

HEX#40dfd4
RGBrgb(64, 223, 212)
HSLhsl(176, 71%, 56%)
CMYKcmyk(71%, 0%, 5%, 13%)
LABlab(81.1 -42.6 -6.4)
LCHlch(81.1 43.0 188.6)
OKLCHoklch(0.821 0.129 188.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40dfd4 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#40dfd4 on black: 12.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue83.1%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow4.9%
Key (black)12.5%

Color previews

#40dfd4 text on a black background

contrast 12.72:1

Card sample

#40dfd4 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40dfd4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40dfd4 in the Color Lab