Skip to content
Vectorlight.net

#021523

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

HEX
#021523
RGB
2, 21, 35
HSL
205.45°, 89.19%, 7.25%
OKLCH
0.19 0.04 241.32
Names
—
Lists

Codes

FormatValue
HEX#021523
RGBrgb(2 21 35)
HSLhsl(205.45 89.19% 7.25%)
OKLCHoklch(0.19 0.04 241.32)
CMYKcmyk(94.29% 40% 0% 86.27%)
Android#ff021523

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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