Skip to content
Vectorlight.net

#5178bf

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

HEX
#5178bf
RGB
81, 120, 191
HSL
218.73°, 46.22%, 53.33%
OKLCH
0.58 0.12 261.58
Names
—
Lists

Codes

FormatValue
HEX#5178bf
RGBrgb(81 120 191)
HSLhsl(218.73 46.22% 53.33%)
OKLCHoklch(0.58 0.12 261.58)
CMYKcmyk(57.59% 37.17% 0% 25.1%)
Android#ff5178bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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