Skip to content

#40d9df

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

RGB
64, 217, 223
HSL
182°, 71%, 56%
CMYK
71, 3, 0, 13
Luminance
0.5604

Every format

HEX#40d9df
RGBrgb(64, 217, 223)
HSLhsl(182, 71%, 56%)
CMYKcmyk(71%, 3%, 0%, 13%)
LABlab(79.6 -36.8 -14.4)
LCHlch(79.6 39.5 201.4)
OKLCHoklch(0.810 0.124 198.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40d9df on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#40d9df on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green85.1%
Blue87.5%

CMYK percentages

Cyan71.3%
Magenta2.7%
Yellow0.0%
Key (black)12.5%

Color previews

#40d9df text on a black background

contrast 12.21:1

Card sample

#40d9df text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40d9df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40d9df in the Color Lab