Skip to content
Vectorlight.net

#515dfa

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

HEX
#515dfa
RGB
81, 93, 250
HSL
235.74°, 94.41%, 64.9%
OKLCH
0.57 0.23 273.1
Names
—
Lists

Codes

FormatValue
HEX#515dfa
RGBrgb(81 93 250)
HSLhsl(235.74 94.41% 64.9%)
OKLCHoklch(0.57 0.23 273.1)
CMYKcmyk(67.6% 62.8% 0% 1.96%)
Android#ff515dfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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