Skip to content
Vectorlight.net

#406bdb

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

HEX
#406bdb
RGB
64, 107, 219
HSL
223.35°, 68.28%, 55.49%
OKLCH
0.56 0.18 265.24
Names
—
Lists

Codes

FormatValue
HEX#406bdb
RGBrgb(64 107 219)
HSLhsl(223.35 68.28% 55.49%)
OKLCHoklch(0.56 0.18 265.24)
CMYKcmyk(70.78% 51.14% 0% 14.12%)
Android#ff406bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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