Skip to content
Vectorlight.net

#4857ff

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

HEX
#4857ff
RGB
72, 87, 255
HSL
235.08°, 100%, 64.12%
OKLCH
0.56 0.25 271.55
Names
—
Lists

Codes

FormatValue
HEX#4857ff
RGBrgb(72 87 255)
HSLhsl(235.08 100% 64.12%)
OKLCHoklch(0.56 0.25 271.55)
CMYKcmyk(71.76% 65.88% 0% 0%)
Android#ff4857ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4857ff;
background-color: #4857ff;
bg-[#4857ff]