Skip to content
Vectorlight.net

#505dab

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

HEX
#505dab
RGB
80, 93, 171
HSL
231.43°, 36.25%, 49.22%
OKLCH
0.51 0.12 274.02
Names
—
Lists

Codes

FormatValue
HEX#505dab
RGBrgb(80 93 171)
HSLhsl(231.43 36.25% 49.22%)
OKLCHoklch(0.51 0.12 274.02)
CMYKcmyk(53.22% 45.61% 0% 32.94%)
Android#ff505dab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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