Skip to content
Vectorlight.net

#154dea

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

HEX
#154dea
RGB
21, 77, 234
HSL
224.23°, 83.53%, 50%
OKLCH
0.5 0.24 264.04
Names
—
Lists

Codes

FormatValue
HEX#154dea
RGBrgb(21 77 234)
HSLhsl(224.23 83.53% 50%)
OKLCHoklch(0.5 0.24 264.04)
CMYKcmyk(91.03% 67.09% 0% 8.24%)
Android#ff154dea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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