Skip to content
Vectorlight.net

#156fcc

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

HEX
#156fcc
RGB
21, 111, 204
HSL
210.49°, 81.33%, 44.12%
OKLCH
0.54 0.16 254.29
Names
—
Lists

Codes

FormatValue
HEX#156fcc
RGBrgb(21 111 204)
HSLhsl(210.49 81.33% 44.12%)
OKLCHoklch(0.54 0.16 254.29)
CMYKcmyk(89.71% 45.59% 0% 20%)
Android#ff156fcc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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