Skip to content
Vectorlight.net

#508afb

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

HEX
#508afb
RGB
80, 138, 251
HSL
219.65°, 95.53%, 64.9%
OKLCH
0.65 0.18 262.18
Names
—
Lists

Codes

FormatValue
HEX#508afb
RGBrgb(80 138 251)
HSLhsl(219.65 95.53% 64.9%)
OKLCHoklch(0.65 0.18 262.18)
CMYKcmyk(68.13% 45.02% 0% 1.57%)
Android#ff508afb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #508afb;
background-color: #508afb;
bg-[#508afb]