Skip to content
Vectorlight.net

#5146dd

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

HEX
#5146dd
RGB
81, 70, 221
HSL
244.37°, 68.95%, 57.06%
OKLCH
0.5 0.22 278.26
Names
—
Lists

Codes

FormatValue
HEX#5146dd
RGBrgb(81 70 221)
HSLhsl(244.37 68.95% 57.06%)
OKLCHoklch(0.5 0.22 278.26)
CMYKcmyk(63.35% 68.33% 0% 13.33%)
Android#ff5146dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5146dd;
background-color: #5146dd;
bg-[#5146dd]