Skip to content
Vectorlight.net

#0d167a

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

HEX
#0d167a
RGB
13, 22, 122
HSL
235.05°, 80.74%, 26.47%
OKLCH
0.29 0.16 267.56
Names
—
Lists

Codes

FormatValue
HEX#0d167a
RGBrgb(13 22 122)
HSLhsl(235.05 80.74% 26.47%)
OKLCHoklch(0.29 0.16 267.56)
CMYKcmyk(89.34% 81.97% 0% 52.16%)
Android#ff0d167a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0d167a;
background-color: #0d167a;
bg-[#0d167a]