Skip to content
Vectorlight.net

#5187cd

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

HEX
#5187cd
RGB
81, 135, 205
HSL
213.87°, 55.36%, 56.08%
OKLCH
0.62 0.12 255.56
Names
—
Lists

Codes

FormatValue
HEX#5187cd
RGBrgb(81 135 205)
HSLhsl(213.87 55.36% 56.08%)
OKLCHoklch(0.62 0.12 255.56)
CMYKcmyk(60.49% 34.15% 0% 19.61%)
Android#ff5187cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5187cd;
background-color: #5187cd;
bg-[#5187cd]