Skip to content
Vectorlight.net

#022147

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

HEX
#022147
RGB
2, 33, 71
HSL
213.04°, 94.52%, 14.31%
OKLCH
0.25 0.08 255.53
Names
—
Lists

Codes

FormatValue
HEX#022147
RGBrgb(2 33 71)
HSLhsl(213.04 94.52% 14.31%)
OKLCHoklch(0.25 0.08 255.53)
CMYKcmyk(97.18% 53.52% 0% 72.16%)
Android#ff022147

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #022147;
background-color: #022147;
bg-[#022147]