Skip to content

#40f2dc

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

RGB
64, 242, 220
HSL
173°, 87%, 60%
CMYK
74, 0, 9, 5
Luminance
0.6976

Every format

HEX#40f2dc
RGBrgb(64, 242, 220)
HSLhsl(173, 87%, 60%)
CMYKcmyk(74%, 0%, 9%, 5%)
LABlab(86.9 -48.7 -2.1)
LCHlch(86.9 48.7 182.5)
OKLCHoklch(0.869 0.142 182.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40f2dc on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#40f2dc on black: 14.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green94.9%
Blue86.3%

CMYK percentages

Cyan73.6%
Magenta0.0%
Yellow9.1%
Key (black)5.1%

Color previews

#40f2dc text on a black background

contrast 14.95:1

Card sample

#40f2dc text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 242, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 242, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40f2dc;
background: linear-gradient(135deg, #40f2dc, #4091F2);

Monochromatic scale

Palettes built from #40f2dc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40f2dc in the Color Lab