Skip to content
Vectorlight.net

#156cbb

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

HEX
#156cbb
RGB
21, 108, 187
HSL
208.55°, 79.81%, 40.78%
OKLCH
0.53 0.15 251.69
Names
—
Lists

Codes

FormatValue
HEX#156cbb
RGBrgb(21 108 187)
HSLhsl(208.55 79.81% 40.78%)
OKLCHoklch(0.53 0.15 251.69)
CMYKcmyk(88.77% 42.25% 0% 26.67%)
Android#ff156cbb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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