Skip to content
Vectorlight.net

#5167fa

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

HEX
#5167fa
RGB
81, 103, 250
HSL
232.19°, 94.41%, 64.9%
OKLCH
0.58 0.22 271.37
Names
—
Lists

Codes

FormatValue
HEX#5167fa
RGBrgb(81 103 250)
HSLhsl(232.19 94.41% 64.9%)
OKLCHoklch(0.58 0.22 271.37)
CMYKcmyk(67.6% 58.8% 0% 1.96%)
Android#ff5167fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5167fa;
background-color: #5167fa;
bg-[#5167fa]