Skip to content
Vectorlight.net

#5147db

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

HEX
#5147db
RGB
81, 71, 219
HSL
244.05°, 67.27%, 56.86%
OKLCH
0.5 0.22 278.28
Names
—
Lists

Codes

FormatValue
HEX#5147db
RGBrgb(81 71 219)
HSLhsl(244.05 67.27% 56.86%)
OKLCHoklch(0.5 0.22 278.28)
CMYKcmyk(63.01% 67.58% 0% 14.12%)
Android#ff5147db

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.41:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.27:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

color / background
color: #5147db;
background-color: #5147db;
bg-[#5147db]