Skip to content
Vectorlight.net

#156fe4

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

HEX
#156fe4
RGB
21, 111, 228
HSL
213.91°, 83.13%, 48.82%
OKLCH
0.56 0.19 257.97
Names
—
Lists

Codes

FormatValue
HEX#156fe4
RGBrgb(21 111 228)
HSLhsl(213.91 83.13% 48.82%)
OKLCHoklch(0.56 0.19 257.97)
CMYKcmyk(90.79% 51.32% 0% 10.59%)
Android#ff156fe4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #156fe4;
background-color: #156fe4;
bg-[#156fe4]