Skip to content
Vectorlight.net

#16217e

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

HEX
#16217e
RGB
22, 33, 126
HSL
233.65°, 70.27%, 29.02%
OKLCH
0.32 0.15 269.1
Names
—
Lists

Codes

FormatValue
HEX#16217e
RGBrgb(22 33 126)
HSLhsl(233.65 70.27% 29.02%)
OKLCHoklch(0.32 0.15 269.1)
CMYKcmyk(82.54% 73.81% 0% 50.59%)
Android#ff16217e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #16217e;
background-color: #16217e;
bg-[#16217e]