Skip to content

#2af4df

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

RGB
42, 244, 223
HSL
174°, 90%, 56%
CMYK
83, 0, 9, 4
Luminance
0.7052

Every format

HEX#2af4df
RGBrgb(42, 244, 223)
HSLhsl(174, 90%, 56%)
CMYKcmyk(83%, 0%, 9%, 4%)
LABlab(87.3 -50.7 -3.2)
LCHlch(87.3 50.8 183.6)
OKLCHoklch(0.872 0.149 183.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af4df on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#2af4df on black: 15.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green95.7%
Blue87.5%

CMYK percentages

Cyan82.8%
Magenta0.0%
Yellow8.6%
Key (black)4.3%

Color previews

#2af4df text on a black background

contrast 15.10:1

Card sample

#2af4df text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2af4df;
Background color
Panel with #2af4df background
background-color: #2af4df;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 244, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 244, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2af4df;
background: linear-gradient(135deg, #2af4df, #2A82F4);

Monochromatic scale

Palettes built from #2af4df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af4df in the Color Lab