Skip to content
Vectorlight.net

#022397

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

HEX
#022397
RGB
2, 35, 151
HSL
226.71°, 97.39%, 30%
OKLCH
0.34 0.19 264.09
Names
—
Lists

Codes

FormatValue
HEX#022397
RGBrgb(2 35 151)
HSLhsl(226.71 97.39% 30%)
OKLCHoklch(0.34 0.19 264.09)
CMYKcmyk(98.68% 76.82% 0% 40.78%)
Android#ff022397

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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