Skip to content
Vectorlight.net

#20179e

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

HEX
#20179e
RGB
32, 23, 158
HSL
244°, 74.59%, 35.49%
OKLCH
0.35 0.2 271.59
Names
—
Lists

Codes

FormatValue
HEX#20179e
RGBrgb(32 23 158)
HSLhsl(244 74.59% 35.49%)
OKLCHoklch(0.35 0.2 271.59)
CMYKcmyk(79.75% 85.44% 0% 38.04%)
Android#ff20179e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #20179e;
background-color: #20179e;
bg-[#20179e]