Skip to content
Vectorlight.net

#404158

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

HEX
#404158
RGB
64, 65, 88
HSL
237.5°, 15.79%, 29.8%
OKLCH
0.38 0.04 282.45
Names
—
Lists

Codes

FormatValue
HEX#404158
RGBrgb(64 65 88)
HSLhsl(237.5 15.79% 29.8%)
OKLCHoklch(0.38 0.04 282.45)
CMYKcmyk(27.27% 26.14% 0% 65.49%)
Android#ff404158

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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