Skip to content
Vectorlight.net

#4e78dc

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

HEX
#4e78dc
RGB
78, 120, 220
HSL
222.25°, 66.98%, 58.43%
OKLCH
0.59 0.16 264.83
Names
—
Lists

Codes

FormatValue
HEX#4e78dc
RGBrgb(78 120 220)
HSLhsl(222.25 66.98% 58.43%)
OKLCHoklch(0.59 0.16 264.83)
CMYKcmyk(64.55% 45.45% 0% 13.73%)
Android#ff4e78dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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