Skip to content
Vectorlight.net

#404160

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

HEX
#404160
RGB
64, 65, 96
HSL
238.13°, 20%, 31.37%
OKLCH
0.39 0.05 282.24
Names
—
Lists

Codes

FormatValue
HEX#404160
RGBrgb(64 65 96)
HSLhsl(238.13 20% 31.37%)
OKLCHoklch(0.39 0.05 282.24)
CMYKcmyk(33.33% 32.29% 0% 62.35%)
Android#ff404160

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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