Skip to content
Vectorlight.net

#5178da

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

HEX
#5178da
RGB
81, 120, 218
HSL
222.92°, 64.93%, 58.63%
OKLCH
0.59 0.16 265.58
Names
—
Lists

Codes

FormatValue
HEX#5178da
RGBrgb(81 120 218)
HSLhsl(222.92 64.93% 58.63%)
OKLCHoklch(0.59 0.16 265.58)
CMYKcmyk(62.84% 44.95% 0% 14.51%)
Android#ff5178da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5178da;
background-color: #5178da;
bg-[#5178da]