Skip to content

#2af3e2

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

RGB
42, 243, 226
HSL
175°, 89%, 56%
CMYK
83, 0, 7, 5
Luminance
0.7008

Every format

HEX#2af3e2
RGBrgb(42, 243, 226)
HSLhsl(175, 89%, 56%)
CMYKcmyk(83%, 0%, 7%, 5%)
LABlab(87.0 -49.5 -5.0)
LCHlch(87.0 49.8 185.8)
OKLCHoklch(0.870 0.147 185.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af3e2 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#2af3e2 on black: 15.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green95.3%
Blue88.6%

CMYK percentages

Cyan82.7%
Magenta0.0%
Yellow7.0%
Key (black)4.7%

Color previews

#2af3e2 text on a black background

contrast 15.02:1

Card sample

#2af3e2 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2af3e2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af3e2 in the Color Lab