Skip to content
Vectorlight.net

#406fbd

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

HEX
#406fbd
RGB
64, 111, 189
HSL
217.44°, 49.41%, 49.61%
OKLCH
0.55 0.13 259.97
Names
—
Lists

Codes

FormatValue
HEX#406fbd
RGBrgb(64 111 189)
HSLhsl(217.44 49.41% 49.61%)
OKLCHoklch(0.55 0.13 259.97)
CMYKcmyk(66.14% 41.27% 0% 25.88%)
Android#ff406fbd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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