Skip to content
Vectorlight.net

#142d4f

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

HEX
#142d4f
RGB
20, 45, 79
HSL
214.58°, 59.6%, 19.41%
OKLCH
0.3 0.07 256.71
Names
—
Lists

Codes

FormatValue
HEX#142d4f
RGBrgb(20 45 79)
HSLhsl(214.58 59.6% 19.41%)
OKLCHoklch(0.3 0.07 256.71)
CMYKcmyk(74.68% 43.04% 0% 69.02%)
Android#ff142d4f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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