Skip to content
Vectorlight.net

#505fed

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

HEX
#505fed
RGB
80, 95, 237
HSL
234.27°, 81.35%, 62.16%
OKLCH
0.56 0.21 272.84
Names
—
Lists

Codes

FormatValue
HEX#505fed
RGBrgb(80 95 237)
HSLhsl(234.27 81.35% 62.16%)
OKLCHoklch(0.56 0.21 272.84)
CMYKcmyk(66.24% 59.92% 0% 7.06%)
Android#ff505fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #505fed;
background-color: #505fed;
bg-[#505fed]