Skip to content

#21afeb

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

RGB
33, 175, 235
HSL
198°, 84%, 53%
CMYK
86, 26, 0, 8
Luminance
0.3698

Every format

HEX#21afeb
RGBrgb(33, 175, 235)
HSLhsl(198, 84%, 53%)
CMYKcmyk(86%, 26%, 0%, 8%)
LABlab(67.3 -14.9 -39.9)
LCHlch(67.3 42.6 249.5)
OKLCHoklch(0.711 0.141 233.4)

Copy-ready code

/* CSS */
color: #21afeb;
background-color: #21afeb;
/* Tailwind (arbitrary) */
class="text-[#21afeb] bg-[#21afeb]"
/* SCSS */
$brand: #21afeb;
/* SwiftUI */
Color(red: 0.129, green: 0.686, blue: 0.922)
/* Android */
Color.parseColor("#21afeb")

Accessibility — WCAG contrast

Aa
#21afeb on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#21afeb on black: 8.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.9%
Green68.6%
Blue92.2%

CMYK percentages

Cyan86.0%
Magenta25.5%
Yellow0.0%
Key (black)7.8%

Color previews

#21afeb text on a black background

contrast 8.40:1

Card sample

#21afeb text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #21afeb;
Background color
Panel with #21afeb background
background-color: #21afeb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(33, 175, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 175, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21afeb;
background: linear-gradient(135deg, #21afeb, #2128EB);

Monochromatic scale

Palettes built from #21afeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #21afeb in the Color Lab