Skip to content
Vectorlight.net

#021044

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

HEX
#021044
RGB
2, 16, 68
HSL
227.27°, 94.29%, 13.73%
OKLCH
0.21 0.1 264.26
Names
—
Lists

Codes

FormatValue
HEX#021044
RGBrgb(2 16 68)
HSLhsl(227.27 94.29% 13.73%)
OKLCHoklch(0.21 0.1 264.26)
CMYKcmyk(97.06% 76.47% 0% 73.33%)
Android#ff021044

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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