Skip to content
Vectorlight.net

#405166

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

HEX
#405166
RGB
64, 81, 102
HSL
213.16°, 22.89%, 32.55%
OKLCH
0.43 0.04 253.98
Names
—
Lists

Codes

FormatValue
HEX#405166
RGBrgb(64 81 102)
HSLhsl(213.16 22.89% 32.55%)
OKLCHoklch(0.43 0.04 253.98)
CMYKcmyk(37.25% 20.59% 0% 60%)
Android#ff405166

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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