Skip to content
Vectorlight.net

#4952cb

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

HEX
#4952cb
RGB
73, 82, 203
HSL
235.85°, 55.56%, 54.12%
OKLCH
0.5 0.18 274.39
Names
—
Lists

Codes

FormatValue
HEX#4952cb
RGBrgb(73 82 203)
HSLhsl(235.85 55.56% 54.12%)
OKLCHoklch(0.5 0.18 274.39)
CMYKcmyk(64.04% 59.61% 0% 20.39%)
Android#ff4952cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4952cb;
background-color: #4952cb;
bg-[#4952cb]