Skip to content
Vectorlight.net

#405fde

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

HEX
#405fde
RGB
64, 95, 222
HSL
228.23°, 70.54%, 56.08%
OKLCH
0.54 0.2 268.49
Names
—
Lists

Codes

FormatValue
HEX#405fde
RGBrgb(64 95 222)
HSLhsl(228.23 70.54% 56.08%)
OKLCHoklch(0.54 0.2 268.49)
CMYKcmyk(71.17% 57.21% 0% 12.94%)
Android#ff405fde

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #405fde;
background-color: #405fde;
bg-[#405fde]