Skip to content
Vectorlight.net

#20176f

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

HEX
#20176f
RGB
32, 23, 111
HSL
246.14°, 65.67%, 26.27%
OKLCH
0.29 0.14 277.22
Names
—
Lists

Codes

FormatValue
HEX#20176f
RGBrgb(32 23 111)
HSLhsl(246.14 65.67% 26.27%)
OKLCHoklch(0.29 0.14 277.22)
CMYKcmyk(71.17% 79.28% 0% 56.47%)
Android#ff20176f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #20176f;
background-color: #20176f;
bg-[#20176f]