Skip to content
Vectorlight.net

#20104e

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

HEX
#20104e
RGB
32, 16, 78
HSL
255.48°, 65.96%, 18.43%
OKLCH
0.24 0.11 287.46
Names
—
Lists

Codes

FormatValue
HEX#20104e
RGBrgb(32 16 78)
HSLhsl(255.48 65.96% 18.43%)
OKLCHoklch(0.24 0.11 287.46)
CMYKcmyk(58.97% 79.49% 0% 69.41%)
Android#ff20104e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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