Skip to content
Vectorlight.net

#154beb

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

HEX
#154beb
RGB
21, 75, 235
HSL
224.86°, 84.25%, 50.2%
OKLCH
0.5 0.24 264.24
Names
—
Lists

Codes

FormatValue
HEX#154beb
RGBrgb(21 75 235)
HSLhsl(224.86 84.25% 50.2%)
OKLCHoklch(0.5 0.24 264.24)
CMYKcmyk(91.06% 68.09% 0% 7.84%)
Android#ff154beb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #154beb;
background-color: #154beb;
bg-[#154beb]