Skip to content

#40c7d2

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

RGB
64, 199, 210
HSL
185°, 62%, 54%
CMYK
70, 5, 0, 18
Luminance
0.4659

Every format

HEX#40c7d2
RGBrgb(64, 199, 210)
HSLhsl(185, 62%, 54%)
CMYKcmyk(70%, 5%, 0%, 18%)
LABlab(73.9 -32.1 -16.0)
LCHlch(73.9 35.9 206.6)
OKLCHoklch(0.763 0.114 203.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c7d2 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#40c7d2 on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green78.0%
Blue82.4%

CMYK percentages

Cyan69.5%
Magenta5.2%
Yellow0.0%
Key (black)17.6%

Color previews

#40c7d2 text on a black background

contrast 10.32:1

Card sample

#40c7d2 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 199, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 199, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c7d2;
background: linear-gradient(135deg, #40c7d2, #4066D2);

Monochromatic scale

Palettes built from #40c7d2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c7d2 in the Color Lab