Skip to content

#2afaff

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

RGB
42, 250, 255
HSL
181°, 100%, 58%
CMYK
84, 2, 0, 0
Luminance
0.7608

Every format

HEX#2afaff
RGBrgb(42, 250, 255)
HSLhsl(181, 100%, 58%)
CMYKcmyk(84%, 2%, 0%, 0%)
LABlab(89.9 -44.4 -15.9)
LCHlch(89.9 47.2 199.7)
OKLCHoklch(0.896 0.147 197.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afaff on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#2afaff on black: 16.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green98.0%
Blue100.0%

CMYK percentages

Cyan83.5%
Magenta2.0%
Yellow0.0%
Key (black)0.0%

Color previews

#2afaff text on a black background

contrast 16.22:1

Card sample

#2afaff text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afaff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afaff in the Color Lab