Skip to content

#2afefe

a balanced, electric cyan · cool · “cyan”

RGB
42, 254, 254
HSL
180°, 99%, 58%
CMYK
84, 0, 0, 0
Luminance
0.7853

Every format

HEX#2afefe
RGBrgb(42, 254, 254)
HSLhsl(180, 99%, 58%)
CMYKcmyk(84%, 0%, 0%, 0%)
LABlab(91.0 -46.5 -13.7)
LCHlch(91.0 48.5 196.5)
OKLCHoklch(0.905 0.149 194.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2afefe on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#2afefe on black: 16.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green99.6%
Blue99.6%

CMYK percentages

Cyan83.5%
Magenta0.0%
Yellow0.0%
Key (black)0.4%

Color previews

#2afefe text on a black background

contrast 16.71:1

Card sample

#2afefe text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afefe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afefe in the Color Lab