Skip to content
Vectorlight.net

#20123a

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

HEX
#20123a
RGB
32, 18, 58
HSL
261°, 52.63%, 14.9%
OKLCH
0.23 0.07 296.08
Names
—
Lists

Codes

FormatValue
HEX#20123a
RGBrgb(32 18 58)
HSLhsl(261 52.63% 14.9%)
OKLCHoklch(0.23 0.07 296.08)
CMYKcmyk(44.83% 68.97% 0% 77.25%)
Android#ff20123a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #20123a;
background-color: #20123a;
bg-[#20123a]