Skip to content
Vectorlight.net

#15098b

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

HEX
#15098b
RGB
21, 9, 139
HSL
245.54°, 87.84%, 29.02%
OKLCH
0.3 0.19 269.74
Names
—
Lists

Codes

FormatValue
HEX#15098b
RGBrgb(21 9 139)
HSLhsl(245.54 87.84% 29.02%)
OKLCHoklch(0.3 0.19 269.74)
CMYKcmyk(84.89% 93.53% 0% 45.49%)
Android#ff15098b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #15098b;
background-color: #15098b;
bg-[#15098b]