Skip to content
Vectorlight.net

#403abd

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

HEX
#403abd
RGB
64, 58, 189
HSL
242.75°, 53.04%, 48.43%
OKLCH
0.45 0.2 276.79
Names
—
Lists

Codes

FormatValue
HEX#403abd
RGBrgb(64 58 189)
HSLhsl(242.75 53.04% 48.43%)
OKLCHoklch(0.45 0.2 276.79)
CMYKcmyk(66.14% 69.31% 0% 25.88%)
Android#ff403abd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #403abd;
background-color: #403abd;
bg-[#403abd]