Skip to content
Vectorlight.net

#162d4e

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

HEX
#162d4e
RGB
22, 45, 78
HSL
215.36°, 56%, 19.61%
OKLCH
0.3 0.07 257.57
Names
—
Lists

Codes

FormatValue
HEX#162d4e
RGBrgb(22 45 78)
HSLhsl(215.36 56% 19.61%)
OKLCHoklch(0.3 0.07 257.57)
CMYKcmyk(71.79% 42.31% 0% 69.41%)
Android#ff162d4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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