Skip to content
Vectorlight.net

#157ceb

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

HEX
#157ceb
RGB
21, 124, 235
HSL
211.12°, 84.25%, 50.2%
OKLCH
0.59 0.19 255.37
Names
—
Lists

Codes

FormatValue
HEX#157ceb
RGBrgb(21 124 235)
HSLhsl(211.12 84.25% 50.2%)
OKLCHoklch(0.59 0.19 255.37)
CMYKcmyk(91.06% 47.23% 0% 7.84%)
Android#ff157ceb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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