Skip to content
Vectorlight.net

#404cec

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

HEX
#404cec
RGB
64, 76, 236
HSL
235.81°, 81.9%, 58.82%
OKLCH
0.52 0.24 271.57
Names
—
Lists

Codes

FormatValue
HEX#404cec
RGBrgb(64 76 236)
HSLhsl(235.81 81.9% 58.82%)
OKLCHoklch(0.52 0.24 271.57)
CMYKcmyk(72.88% 67.8% 0% 7.45%)
Android#ff404cec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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