Skip to content
Vectorlight.net

#4752dc

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

HEX
#4752dc
RGB
71, 82, 220
HSL
235.57°, 68.04%, 57.06%
OKLCH
0.52 0.21 273.13
Names
—
Lists

Codes

FormatValue
HEX#4752dc
RGBrgb(71 82 220)
HSLhsl(235.57 68.04% 57.06%)
OKLCHoklch(0.52 0.21 273.13)
CMYKcmyk(67.73% 62.73% 0% 13.73%)
Android#ff4752dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4752dc;
background-color: #4752dc;
bg-[#4752dc]