Skip to content
Vectorlight.net

#401dbd

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

HEX
#401dbd
RGB
64, 29, 189
HSL
253.13°, 73.39%, 42.75%
OKLCH
0.41 0.22 280.08
Names
—
Lists

Codes

FormatValue
HEX#401dbd
RGBrgb(64 29 189)
HSLhsl(253.13 73.39% 42.75%)
OKLCHoklch(0.41 0.22 280.08)
CMYKcmyk(66.14% 84.66% 0% 25.88%)
Android#ff401dbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #401dbd;
background-color: #401dbd;
bg-[#401dbd]