Skip to content
Vectorlight.net

#142e5e

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

HEX
#142e5e
RGB
20, 46, 94
HSL
218.92°, 64.91%, 22.35%
OKLCH
0.31 0.09 261.38
Names
—
Lists

Codes

FormatValue
HEX#142e5e
RGBrgb(20 46 94)
HSLhsl(218.92 64.91% 22.35%)
OKLCHoklch(0.31 0.09 261.38)
CMYKcmyk(78.72% 51.06% 0% 63.14%)
Android#ff142e5e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #142e5e;
background-color: #142e5e;
bg-[#142e5e]