Skip to content

#2af4ee

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

RGB
42, 244, 238
HSL
178°, 90%, 56%
CMYK
83, 0, 3, 4
Luminance
0.7137

Every format

HEX#2af4ee
RGBrgb(42, 244, 238)
HSLhsl(178, 90%, 56%)
CMYKcmyk(83%, 0%, 3%, 4%)
LABlab(87.7 -46.6 -10.4)
LCHlch(87.7 47.8 192.6)
OKLCHoklch(0.876 0.145 191.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af4ee on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#2af4ee on black: 15.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green95.7%
Blue93.3%

CMYK percentages

Cyan82.8%
Magenta0.0%
Yellow2.5%
Key (black)4.3%

Color previews

#2af4ee text on a black background

contrast 15.27:1

Card sample

#2af4ee text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2af4ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af4ee in the Color Lab