Skip to content
Vectorlight.net

#142a2f

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

HEX
#142a2f
RGB
20, 42, 47
HSL
191.11°, 40.3%, 13.14%
OKLCH
0.27 0.03 214.03
Names
—
Lists

Codes

FormatValue
HEX#142a2f
RGBrgb(20 42 47)
HSLhsl(191.11 40.3% 13.14%)
OKLCHoklch(0.27 0.03 214.03)
CMYKcmyk(57.45% 10.64% 0% 81.57%)
Android#ff142a2f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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