Skip to content
Vectorlight.net

#407cfb

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

HEX
#407cfb
RGB
64, 124, 251
HSL
220.75°, 95.9%, 61.76%
OKLCH
0.62 0.2 262.89
Names
—
Lists

Codes

FormatValue
HEX#407cfb
RGBrgb(64 124 251)
HSLhsl(220.75 95.9% 61.76%)
OKLCHoklch(0.62 0.2 262.89)
CMYKcmyk(74.5% 50.6% 0% 1.57%)
Android#ff407cfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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