Skip to content

#21ace4

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

RGB
33, 172, 228
HSL
197°, 78%, 51%
CMYK
86, 25, 0, 11
Luminance
0.3543

Every format

HEX#21ace4
RGBrgb(33, 172, 228)
HSLhsl(197, 78%, 51%)
CMYKcmyk(86%, 25%, 0%, 11%)
LABlab(66.1 -15.7 -38.0)
LCHlch(66.1 41.1 247.5)
OKLCHoklch(0.701 0.136 232.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#21ace4 on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#21ace4 on black: 8.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.9%
Green67.5%
Blue89.4%

CMYK percentages

Cyan85.5%
Magenta24.6%
Yellow0.0%
Key (black)10.6%

Color previews

#21ace4 text on a black background

contrast 8.09:1

Card sample

#21ace4 text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(33, 172, 228, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 172, 228, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21ace4;
background: linear-gradient(135deg, #21ace4, #212AE4);

Monochromatic scale

Palettes built from #21ace4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #21ace4 in the Color Lab