Skip to content
Vectorlight.net

#4e7fab

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

HEX
#4e7fab
RGB
78, 127, 171
HSL
208.39°, 37.35%, 48.82%
OKLCH
0.58 0.09 246.99
Names
—
Lists

Codes

FormatValue
HEX#4e7fab
RGBrgb(78 127 171)
HSLhsl(208.39 37.35% 48.82%)
OKLCHoklch(0.58 0.09 246.99)
CMYKcmyk(54.39% 25.73% 0% 32.94%)
Android#ff4e7fab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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