Skip to content
Vectorlight.net

#506dec

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

HEX
#506dec
RGB
80, 109, 236
HSL
228.85°, 80.41%, 61.96%
OKLCH
0.58 0.19 269.74
Names
—
Lists

Codes

FormatValue
HEX#506dec
RGBrgb(80 109 236)
HSLhsl(228.85 80.41% 61.96%)
OKLCHoklch(0.58 0.19 269.74)
CMYKcmyk(66.1% 53.81% 0% 7.45%)
Android#ff506dec

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #506dec;
background-color: #506dec;
bg-[#506dec]