Skip to content
Vectorlight.net

#15212c

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

HEX
#15212c
RGB
21, 33, 44
HSL
208.7°, 35.38%, 12.75%
OKLCH
0.24 0.03 246.82
Names
—
Lists

Codes

FormatValue
HEX#15212c
RGBrgb(21 33 44)
HSLhsl(208.7 35.38% 12.75%)
OKLCHoklch(0.24 0.03 246.82)
CMYKcmyk(52.27% 25% 0% 82.75%)
Android#ff15212c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #15212c;
background-color: #15212c;
bg-[#15212c]