Skip to content
Vectorlight.net

#158dff

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

HEX
#158dff
RGB
21, 141, 255
HSL
209.23°, 100%, 54.12%
OKLCH
0.64 0.19 253.52
Names
—
Lists

Codes

FormatValue
HEX#158dff
RGBrgb(21 141 255)
HSLhsl(209.23 100% 54.12%)
OKLCHoklch(0.64 0.19 253.52)
CMYKcmyk(91.76% 44.71% 0% 0%)
Android#ff158dff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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