Skip to content
Vectorlight.net

#157aba

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

HEX
#157aba
RGB
21, 122, 186
HSL
203.27°, 79.71%, 40.59%
OKLCH
0.56 0.13 243.92
Names
—
Lists

Codes

FormatValue
HEX#157aba
RGBrgb(21 122 186)
HSLhsl(203.27 79.71% 40.59%)
OKLCHoklch(0.56 0.13 243.92)
CMYKcmyk(88.71% 34.41% 0% 27.06%)
Android#ff157aba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #157aba;
background-color: #157aba;
bg-[#157aba]