Skip to content
Vectorlight.net

#162acd

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

HEX
#162acd
RGB
22, 42, 205
HSL
233.44°, 80.62%, 44.51%
OKLCH
0.42 0.24 266.38
Names
—
Lists

Codes

FormatValue
HEX#162acd
RGBrgb(22 42 205)
HSLhsl(233.44 80.62% 44.51%)
OKLCHoklch(0.42 0.24 266.38)
CMYKcmyk(89.27% 79.51% 0% 19.61%)
Android#ff162acd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #162acd;
background-color: #162acd;
bg-[#162acd]