Skip to content

#2afcfd

a balanced, electric cyan · cool · “cyan”

RGB
42, 252, 253
HSL
180°, 98%, 58%
CMYK
83, 0, 0, 1
Luminance
0.7720

Every format

HEX#2afcfd
RGBrgb(42, 252, 253)
HSLhsl(180, 98%, 58%)
CMYKcmyk(83%, 0%, 0%, 1%)
LABlab(90.4 -45.9 -14.1)
LCHlch(90.4 48.0 197.1)
OKLCHoklch(0.900 0.148 195.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green98.8%
Blue99.2%

CMYK percentages

Cyan83.4%
Magenta0.4%
Yellow0.0%
Key (black)0.8%

Color previews

#2afcfd text on a black background

contrast 16.44:1

Card sample

#2afcfd text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afcfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afcfd in the Color Lab