Skip to content

#2af1db

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

RGB
42, 241, 219
HSL
173°, 88%, 56%
CMYK
83, 0, 9, 6
Luminance
0.6852

Every format

HEX#2af1db
RGBrgb(42, 241, 219)
HSLhsl(173, 88%, 56%)
CMYKcmyk(83%, 0%, 9%, 6%)
LABlab(86.3 -50.5 -2.5)
LCHlch(86.3 50.6 182.9)
OKLCHoklch(0.863 0.148 183.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af1db on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#2af1db on black: 14.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green94.5%
Blue85.9%

CMYK percentages

Cyan82.6%
Magenta0.0%
Yellow9.1%
Key (black)5.5%

Color previews

#2af1db text on a black background

contrast 14.70:1

Card sample

#2af1db text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2af1db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af1db in the Color Lab