Skip to content
Vectorlight.net

#01022d

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

HEX
#01022d
RGB
1, 2, 45
HSL
238.64°, 95.65%, 9.02%
OKLCH
0.14 0.09 266.37
Names
—
Lists

Codes

FormatValue
HEX#01022d
RGBrgb(1 2 45)
HSLhsl(238.64 95.65% 9.02%)
OKLCHoklch(0.14 0.09 266.37)
CMYKcmyk(97.78% 95.56% 0% 82.35%)
Android#ff01022d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #01022d;
background-color: #01022d;
bg-[#01022d]