Skip to content
Vectorlight.net

#4d79ab

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

HEX
#4d79ab
RGB
77, 121, 171
HSL
211.91°, 37.9%, 48.63%
OKLCH
0.57 0.09 252.57
Names
—
Lists

Codes

FormatValue
HEX#4d79ab
RGBrgb(77 121 171)
HSLhsl(211.91 37.9% 48.63%)
OKLCHoklch(0.57 0.09 252.57)
CMYKcmyk(54.97% 29.24% 0% 32.94%)
Android#ff4d79ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.63:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#4d79ab"
Gradient stop
<stop stop-color="#4d79ab"/>
CSS variable + fill
:root { --c: #4d79ab; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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