Skip to content
Vectorlight.net

#4066df

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

HEX
#4066df
RGB
64, 102, 223
HSL
225.66°, 71.3%, 56.27%
OKLCH
0.55 0.19 266.84
Names
—
Lists

Codes

FormatValue
HEX#4066df
RGBrgb(64 102 223)
HSLhsl(225.66 71.3% 56.27%)
OKLCHoklch(0.55 0.19 266.84)
CMYKcmyk(71.3% 54.26% 0% 12.55%)
Android#ff4066df

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4066df;
background-color: #4066df;
bg-[#4066df]