Skip to content
Vectorlight.net

#4a52fb

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

HEX
#4a52fb
RGB
74, 82, 251
HSL
237.29°, 95.68%, 63.73%
OKLCH
0.55 0.25 272.8
Names
—
Lists

Codes

FormatValue
HEX#4a52fb
RGBrgb(74 82 251)
HSLhsl(237.29 95.68% 63.73%)
OKLCHoklch(0.55 0.25 272.8)
CMYKcmyk(70.52% 67.33% 0% 1.57%)
Android#ff4a52fb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4a52fb;
background-color: #4a52fb;
bg-[#4a52fb]