Skip to content
Vectorlight.net

#154257

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

HEX
#154257
RGB
21, 66, 87
HSL
199.09°, 61.11%, 21.18%
OKLCH
0.36 0.06 232.31
Names
—
Lists

Codes

FormatValue
HEX#154257
RGBrgb(21 66 87)
HSLhsl(199.09 61.11% 21.18%)
OKLCHoklch(0.36 0.06 232.31)
CMYKcmyk(75.86% 24.14% 0% 65.88%)
Android#ff154257

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #154257;
background-color: #154257;
bg-[#154257]