Skip to content
Vectorlight.net

#156cba

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

HEX
#156cba
RGB
21, 108, 186
HSL
208.36°, 79.71%, 40.59%
OKLCH
0.53 0.14 251.43
Names
—
Lists

Codes

FormatValue
HEX#156cba
RGBrgb(21 108 186)
HSLhsl(208.36 79.71% 40.59%)
OKLCHoklch(0.53 0.14 251.43)
CMYKcmyk(88.71% 41.94% 0% 27.06%)
Android#ff156cba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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