Skip to content

#2afeee

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

RGB
42, 254, 238
HSL
176°, 99%, 58%
CMYK
84, 0, 6, 0
Luminance
0.7755

Every format

HEX#2afeee
RGBrgb(42, 254, 238)
HSLhsl(176, 99%, 58%)
CMYKcmyk(84%, 0%, 6%, 0%)
LABlab(90.6 -50.9 -6.1)
LCHlch(90.6 51.3 186.8)
OKLCHoklch(0.900 0.152 186.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afeee on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#2afeee on black: 16.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green99.6%
Blue93.3%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow6.3%
Key (black)0.4%

Color previews

#2afeee text on a black background

contrast 16.51:1

Card sample

#2afeee text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afeee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afeee in the Color Lab