Skip to content
Vectorlight.net

#404aec

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

HEX
#404aec
RGB
64, 74, 236
HSL
236.51°, 81.9%, 58.82%
OKLCH
0.51 0.24 271.81
Names
—
Lists

Codes

FormatValue
HEX#404aec
RGBrgb(64 74 236)
HSLhsl(236.51 81.9% 58.82%)
OKLCHoklch(0.51 0.24 271.81)
CMYKcmyk(72.88% 68.64% 0% 7.45%)
Android#ff404aec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #404aec;
background-color: #404aec;
bg-[#404aec]