Skip to content
Vectorlight.net

#5146be

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

HEX
#5146be
RGB
81, 70, 190
HSL
245.5°, 48%, 50.98%
OKLCH
0.48 0.18 281.2
Names
—
Lists

Codes

FormatValue
HEX#5146be
RGBrgb(81 70 190)
HSLhsl(245.5 48% 50.98%)
OKLCHoklch(0.48 0.18 281.2)
CMYKcmyk(57.37% 63.16% 0% 25.49%)
Android#ff5146be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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