Skip to content
Vectorlight.net

#202142

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

HEX
#202142
RGB
32, 33, 66
HSL
238.24°, 34.69%, 19.22%
OKLCH
0.27 0.06 280.1
Names
—
Lists

Codes

FormatValue
HEX#202142
RGBrgb(32 33 66)
HSLhsl(238.24 34.69% 19.22%)
OKLCHoklch(0.27 0.06 280.1)
CMYKcmyk(51.52% 50% 0% 74.12%)
Android#ff202142

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #202142;
background-color: #202142;
bg-[#202142]