Skip to content
Vectorlight.net

#20183a

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

HEX
#20183a
RGB
32, 24, 58
HSL
254.12°, 41.46%, 16.08%
OKLCH
0.24 0.06 291.73
Names
—
Lists

Codes

FormatValue
HEX#20183a
RGBrgb(32 24 58)
HSLhsl(254.12 41.46% 16.08%)
OKLCHoklch(0.24 0.06 291.73)
CMYKcmyk(44.83% 58.62% 0% 77.25%)
Android#ff20183a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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