Skip to content
Vectorlight.net

#0507ab

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

HEX
#0507ab
RGB
5, 7, 171
HSL
239.28°, 94.32%, 34.51%
OKLCH
0.34 0.23 264.91
Names
—
Lists

Codes

FormatValue
HEX#0507ab
RGBrgb(5 7 171)
HSLhsl(239.28 94.32% 34.51%)
OKLCHoklch(0.34 0.23 264.91)
CMYKcmyk(97.08% 95.91% 0% 32.94%)
Android#ff0507ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0507ab;
background-color: #0507ab;
bg-[#0507ab]