Skip to content
Vectorlight.net

#515ceb

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

HEX
#515ceb
RGB
81, 92, 235
HSL
235.71°, 79.38%, 61.96%
OKLCH
0.55 0.21 273.76
Names
—
Lists

Codes

FormatValue
HEX#515ceb
RGBrgb(81 92 235)
HSLhsl(235.71 79.38% 61.96%)
OKLCHoklch(0.55 0.21 273.76)
CMYKcmyk(65.53% 60.85% 0% 7.84%)
Android#ff515ceb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #515ceb;
background-color: #515ceb;
bg-[#515ceb]