Skip to content
Vectorlight.net

#150772

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

HEX
#150772
RGB
21, 7, 114
HSL
247.85°, 88.43%, 23.73%
OKLCH
0.27 0.16 272.36
Names
—
Lists

Codes

FormatValue
HEX#150772
RGBrgb(21 7 114)
HSLhsl(247.85 88.43% 23.73%)
OKLCHoklch(0.27 0.16 272.36)
CMYKcmyk(81.58% 93.86% 0% 55.29%)
Android#ff150772

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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