Skip to content
Vectorlight.net

#406397

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

HEX
#406397
RGB
64, 99, 151
HSL
215.86°, 40.47%, 42.16%
OKLCH
0.5 0.09 258.1
Names
—
Lists

Codes

FormatValue
HEX#406397
RGBrgb(64 99 151)
HSLhsl(215.86 40.47% 42.16%)
OKLCHoklch(0.5 0.09 258.1)
CMYKcmyk(57.62% 34.44% 0% 40.78%)
Android#ff406397

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #406397;
background-color: #406397;
bg-[#406397]