Skip to content
Vectorlight.net

#150342

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

HEX
#150342
RGB
21, 3, 66
HSL
257.14°, 91.3%, 13.53%
OKLCH
0.2 0.11 285
Names
—
Lists

Codes

FormatValue
HEX#150342
RGBrgb(21 3 66)
HSLhsl(257.14 91.3% 13.53%)
OKLCHoklch(0.2 0.11 285)
CMYKcmyk(68.18% 95.45% 0% 74.12%)
Android#ff150342

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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