Skip to content
Vectorlight.net

#4878ae

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

HEX
#4878ae
RGB
72, 120, 174
HSL
211.76°, 41.46%, 48.24%
OKLCH
0.56 0.1 252.52
Names
—
Lists

Codes

FormatValue
HEX#4878ae
RGBrgb(72 120 174)
HSLhsl(211.76 41.46% 48.24%)
OKLCHoklch(0.56 0.1 252.52)
CMYKcmyk(58.62% 31.03% 0% 31.76%)
Android#ff4878ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #4878ae;
background-color: #4878ae;
bg-[#4878ae]