Skip to content
Vectorlight.net

#5191ef

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

HEX
#5191ef
RGB
81, 145, 239
HSL
215.7°, 83.16%, 62.75%
OKLCH
0.66 0.16 258.01
Names
—
Lists

Codes

FormatValue
HEX#5191ef
RGBrgb(81 145 239)
HSLhsl(215.7 83.16% 62.75%)
OKLCHoklch(0.66 0.16 258.01)
CMYKcmyk(66.11% 39.33% 0% 6.27%)
Android#ff5191ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5191ef;
background-color: #5191ef;
bg-[#5191ef]