Skip to content
Vectorlight.net

#15217c

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

HEX
#15217c
RGB
21, 33, 124
HSL
233.01°, 71.03%, 28.43%
OKLCH
0.31 0.15 268.8
Names
—
Lists

Codes

FormatValue
HEX#15217c
RGBrgb(21 33 124)
HSLhsl(233.01 71.03% 28.43%)
OKLCHoklch(0.31 0.15 268.8)
CMYKcmyk(83.06% 73.39% 0% 51.37%)
Android#ff15217c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #15217c;
background-color: #15217c;
bg-[#15217c]