Skip to content
Vectorlight.net

#0508bf

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

HEX
#0508bf
RGB
5, 8, 191
HSL
239.03°, 94.9%, 38.43%
OKLCH
0.37 0.25 264.74
Names
—
Lists

Codes

FormatValue
HEX#0508bf
RGBrgb(5 8 191)
HSLhsl(239.03 94.9% 38.43%)
OKLCHoklch(0.37 0.25 264.74)
CMYKcmyk(97.38% 95.81% 0% 25.1%)
Android#ff0508bf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0508bf;
background-color: #0508bf;
bg-[#0508bf]