Skip to content
Vectorlight.net

#406abc

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

HEX
#406abc
RGB
64, 106, 188
HSL
219.68°, 49.21%, 49.41%
OKLCH
0.54 0.14 262.33
Names
—
Lists

Codes

FormatValue
HEX#406abc
RGBrgb(64 106 188)
HSLhsl(219.68 49.21% 49.41%)
OKLCHoklch(0.54 0.14 262.33)
CMYKcmyk(65.96% 43.62% 0% 26.27%)
Android#ff406abc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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