Skip to content
Vectorlight.net

#157fbc

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

HEX
#157fbc
RGB
21, 127, 188
HSL
201.92°, 79.9%, 40.98%
OKLCH
0.57 0.13 241.65
Names
—
Lists

Codes

FormatValue
HEX#157fbc
RGBrgb(21 127 188)
HSLhsl(201.92 79.9% 40.98%)
OKLCHoklch(0.57 0.13 241.65)
CMYKcmyk(88.83% 32.45% 0% 26.27%)
Android#ff157fbc

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.38:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.79:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#157fbc"
Gradient stop
<stop stop-color="#157fbc"/>
CSS variable + fill
:root { --c: #157fbc; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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