Skip to content
Vectorlight.net

#404580

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

HEX
#404580
RGB
64, 69, 128
HSL
235.31°, 33.33%, 37.65%
OKLCH
0.42 0.1 277.61
Names
—
Lists

Codes

FormatValue
HEX#404580
RGBrgb(64 69 128)
HSLhsl(235.31 33.33% 37.65%)
OKLCHoklch(0.42 0.1 277.61)
CMYKcmyk(50% 46.09% 0% 49.8%)
Android#ff404580

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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