Skip to content
Vectorlight.net

#21054d

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#21054d
RGB
33, 5, 77
HSL
263.33°, 87.8%, 16.08%
OKLCH
0.23 0.12 291.76
Names
—
Lists

Codes

FormatValue
HEX#21054d
RGBrgb(33 5 77)
HSLhsl(263.33 87.8% 16.08%)
OKLCHoklch(0.23 0.12 291.76)
CMYKcmyk(57.14% 93.51% 0% 69.8%)
Android#ff21054d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
17.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.19:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#21054d"
Gradient stop
<stop stop-color="#21054d"/>
CSS variable + fill
:root { --c: #21054d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #21054d;
background-color: #21054d;
bg-[#21054d]