Skip to content
Vectorlight.net

#20172c

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

HEX
#20172c
RGB
32, 23, 44
HSL
265.71°, 31.34%, 13.14%
OKLCH
0.23 0.04 302.97
Names
—
Lists

Codes

FormatValue
HEX#20172c
RGBrgb(32 23 44)
HSLhsl(265.71 31.34% 13.14%)
OKLCHoklch(0.23 0.04 302.97)
CMYKcmyk(27.27% 47.73% 0% 82.75%)
Android#ff20172c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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