Skip to content

#40dfd8

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

RGB
64, 223, 216
HSL
177°, 71%, 56%
CMYK
71, 0, 3, 13
Luminance
0.5882

Every format

HEX#40dfd8
RGBrgb(64, 223, 216)
HSLhsl(177, 71%, 56%)
CMYKcmyk(71%, 0%, 3%, 13%)
LABlab(81.2 -41.5 -8.4)
LCHlch(81.2 42.3 191.4)
OKLCHoklch(0.823 0.128 190.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red25.1%
Green87.5%
Blue84.7%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow3.1%
Key (black)12.5%

Color previews

#40dfd8 text on a black background

contrast 12.76:1

Card sample

#40dfd8 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40dfd8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40dfd8 in the Color Lab