Skip to content
Vectorlight.net

#405bdb

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

HEX
#405bdb
RGB
64, 91, 219
HSL
229.55°, 68.28%, 55.49%
OKLCH
0.53 0.2 269.34
Names
—
Lists

Codes

FormatValue
HEX#405bdb
RGBrgb(64 91 219)
HSLhsl(229.55 68.28% 55.49%)
OKLCHoklch(0.53 0.2 269.34)
CMYKcmyk(70.78% 58.45% 0% 14.12%)
Android#ff405bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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