Skip to content
Vectorlight.net

#157e9d

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

HEX
#157e9d
RGB
21, 126, 157
HSL
193.68°, 76.4%, 34.9%
OKLCH
0.55 0.1 224.15
Names
—
Lists

Codes

FormatValue
HEX#157e9d
RGBrgb(21 126 157)
HSLhsl(193.68 76.4% 34.9%)
OKLCHoklch(0.55 0.1 224.15)
CMYKcmyk(86.62% 19.75% 0% 38.43%)
Android#ff157e9d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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