Skip to content
Vectorlight.net

#4866ec

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

HEX
#4866ec
RGB
72, 102, 236
HSL
229.02°, 81.19%, 60.39%
OKLCH
0.57 0.2 269.23
Names
—
Lists

Codes

FormatValue
HEX#4866ec
RGBrgb(72 102 236)
HSLhsl(229.02 81.19% 60.39%)
OKLCHoklch(0.57 0.2 269.23)
CMYKcmyk(69.49% 56.78% 0% 7.45%)
Android#ff4866ec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4866ec;
background-color: #4866ec;
bg-[#4866ec]