Skip to content
Vectorlight.net

#4874ab

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

HEX
#4874ab
RGB
72, 116, 171
HSL
213.33°, 40.74%, 47.65%
OKLCH
0.55 0.1 254.72
Names
—
Lists

Codes

FormatValue
HEX#4874ab
RGBrgb(72 116 171)
HSLhsl(213.33 40.74% 47.65%)
OKLCHoklch(0.55 0.1 254.72)
CMYKcmyk(57.89% 32.16% 0% 32.94%)
Android#ff4874ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4874ab;
background-color: #4874ab;
bg-[#4874ab]