Skip to content
Vectorlight.net

#150440

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

HEX
#150440
RGB
21, 4, 64
HSL
257°, 88.24%, 13.33%
OKLCH
0.2 0.1 285.58
Names
—
Lists

Codes

FormatValue
HEX#150440
RGBrgb(21 4 64)
HSLhsl(257 88.24% 13.33%)
OKLCHoklch(0.2 0.1 285.58)
CMYKcmyk(67.19% 93.75% 0% 74.9%)
Android#ff150440

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="#150440"
Gradient stop
<stop stop-color="#150440"/>
CSS variable + fill
:root { --c: #150440; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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