Skip to content

#2afbfd

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

RGB
42, 251, 253
HSL
181°, 98%, 58%
CMYK
83, 1, 0, 1
Luminance
0.7658

Every format

HEX#2afbfd
RGBrgb(42, 251, 253)
HSLhsl(181, 98%, 58%)
CMYKcmyk(83%, 1%, 0%, 1%)
LABlab(90.1 -45.4 -14.6)
LCHlch(90.1 47.7 197.8)
OKLCHoklch(0.898 0.148 195.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green98.4%
Blue99.2%

CMYK percentages

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

Color previews

#2afbfd text on a black background

contrast 16.32:1

Card sample

#2afbfd text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2afbfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2afbfd in the Color Lab