Skip to content

#40d4df

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

RGB
64, 212, 223
HSL
184°, 71%, 56%
CMYK
71, 5, 0, 13
Luminance
0.5350

Every format

HEX#40d4df
RGBrgb(64, 212, 223)
HSLhsl(184, 71%, 56%)
CMYKcmyk(71%, 5%, 0%, 13%)
LABlab(78.2 -34.5 -16.6)
LCHlch(78.2 38.3 205.8)
OKLCHoklch(0.799 0.121 202.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40d4df on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#40d4df on black: 11.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green83.1%
Blue87.5%

CMYK percentages

Cyan71.3%
Magenta4.9%
Yellow0.0%
Key (black)12.5%

Color previews

#40d4df text on a black background

contrast 11.70:1

Card sample

#40d4df text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40d4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40d4df in the Color Lab