Skip to content
Vectorlight.net

#5178ac

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

HEX
#5178ac
RGB
81, 120, 172
HSL
214.29°, 35.97%, 49.61%
OKLCH
0.57 0.09 255.94
Names
—
Lists

Codes

FormatValue
HEX#5178ac
RGBrgb(81 120 172)
HSLhsl(214.29 35.97% 49.61%)
OKLCHoklch(0.57 0.09 255.94)
CMYKcmyk(52.91% 30.23% 0% 32.55%)
Android#ff5178ac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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