Skip to content
Vectorlight.net

#5182bc

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

HEX
#5182bc
RGB
81, 130, 188
HSL
212.52°, 44.4%, 52.75%
OKLCH
0.6 0.1 253.56
Names
—
Lists

Codes

FormatValue
HEX#5182bc
RGBrgb(81 130 188)
HSLhsl(212.52 44.4% 52.75%)
OKLCHoklch(0.6 0.1 253.56)
CMYKcmyk(56.91% 30.85% 0% 26.27%)
Android#ff5182bc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5182bc;
background-color: #5182bc;
bg-[#5182bc]