Skip to content
Vectorlight.net

#156fcd

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

HEX
#156fcd
RGB
21, 111, 205
HSL
210.65°, 81.42%, 44.31%
OKLCH
0.54 0.17 254.49
Names
—
Lists

Codes

FormatValue
HEX#156fcd
RGBrgb(21 111 205)
HSLhsl(210.65 81.42% 44.31%)
OKLCHoklch(0.54 0.17 254.49)
CMYKcmyk(89.76% 45.85% 0% 19.61%)
Android#ff156fcd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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