Skip to content
Vectorlight.net

#21407a

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

HEX
#21407a
RGB
33, 64, 122
HSL
219.1°, 57.42%, 30.39%
OKLCH
0.38 0.11 261.62
Names
—
Lists

Codes

FormatValue
HEX#21407a
RGBrgb(33 64 122)
HSLhsl(219.1 57.42% 30.39%)
OKLCHoklch(0.38 0.11 261.62)
CMYKcmyk(72.95% 47.54% 0% 52.16%)
Android#ff21407a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
10.10:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.07: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="#21407a"
Gradient stop
<stop stop-color="#21407a"/>
CSS variable + fill
:root { --c: #21407a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #21407a;
background-color: #21407a;
bg-[#21407a]