Skip to content
Vectorlight.net

#4d5dab

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

HEX
#4d5dab
RGB
77, 93, 171
HSL
229.79°, 37.9%, 48.63%
OKLCH
0.5 0.12 272.47
Names
—
Lists

Codes

FormatValue
HEX#4d5dab
RGBrgb(77 93 171)
HSLhsl(229.79 37.9% 48.63%)
OKLCHoklch(0.5 0.12 272.47)
CMYKcmyk(54.97% 45.61% 0% 32.94%)
Android#ff4d5dab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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