Skip to content
Vectorlight.net

#20396b

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

HEX
#20396b
RGB
32, 57, 107
HSL
220°, 53.96%, 27.25%
OKLCH
0.35 0.09 262.62
Names
—
Lists

Codes

FormatValue
HEX#20396b
RGBrgb(32 57 107)
HSLhsl(220 53.96% 27.25%)
OKLCHoklch(0.35 0.09 262.62)
CMYKcmyk(70.09% 46.73% 0% 58.04%)
Android#ff20396b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #20396b;
background-color: #20396b;
bg-[#20396b]