Skip to content
Vectorlight.net

#158caf

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

HEX
#158caf
RGB
21, 140, 175
HSL
193.64°, 78.57%, 38.43%
OKLCH
0.6 0.11 224.53
Names
—
Lists

Codes

FormatValue
HEX#158caf
RGBrgb(21 140 175)
HSLhsl(193.64 78.57% 38.43%)
OKLCHoklch(0.6 0.11 224.53)
CMYKcmyk(88% 20% 0% 31.37%)
Android#ff158caf

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.88:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.40:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#158caf"
Gradient stop
<stop stop-color="#158caf"/>
CSS variable + fill
:root { --c: #158caf; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #158caf;
background-color: #158caf;
bg-[#158caf]