Skip to content

#2afee7

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

RGB
42, 254, 231
HSL
174°, 99%, 58%
CMYK
84, 0, 9, 0
Luminance
0.7715

Every format

HEX#2afee7
RGBrgb(42, 254, 231)
HSLhsl(174, 99%, 58%)
CMYKcmyk(84%, 0%, 9%, 0%)
LABlab(90.4 -52.8 -2.7)
LCHlch(90.4 52.8 183.0)
OKLCHoklch(0.898 0.154 183.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afee7 on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#2afee7 on black: 16.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green99.6%
Blue90.6%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow9.1%
Key (black)0.4%

Color previews

#2afee7 text on a black background

contrast 16.43:1

Card sample

#2afee7 text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afee7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afee7 in the Color Lab