Skip to content
Vectorlight.net

#407ecd

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

HEX
#407ecd
RGB
64, 126, 205
HSL
213.62°, 58.51%, 52.75%
OKLCH
0.59 0.14 255.58
Names
—
Lists

Codes

FormatValue
HEX#407ecd
RGBrgb(64 126 205)
HSLhsl(213.62 58.51% 52.75%)
OKLCHoklch(0.59 0.14 255.58)
CMYKcmyk(68.78% 38.54% 0% 19.61%)
Android#ff407ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.08:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#407ecd"
Gradient stop
<stop stop-color="#407ecd"/>
CSS variable + fill
:root { --c: #407ecd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #407ecd;
background-color: #407ecd;
bg-[#407ecd]