Skip to content
Vectorlight.net

#406aed

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

HEX
#406aed
RGB
64, 106, 237
HSL
225.43°, 82.78%, 59.02%
OKLCH
0.57 0.2 266.43
Names
—
Lists

Codes

FormatValue
HEX#406aed
RGBrgb(64 106 237)
HSLhsl(225.43 82.78% 59.02%)
OKLCHoklch(0.57 0.2 266.43)
CMYKcmyk(73% 55.27% 0% 7.06%)
Android#ff406aed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #406aed;
background-color: #406aed;
bg-[#406aed]