Skip to content
Vectorlight.net

#050b7a

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

HEX
#050b7a
RGB
5, 11, 122
HSL
236.92°, 92.13%, 24.9%
OKLCH
0.27 0.17 265.73
Names
—
Lists

Codes

FormatValue
HEX#050b7a
RGBrgb(5 11 122)
HSLhsl(236.92 92.13% 24.9%)
OKLCHoklch(0.27 0.17 265.73)
CMYKcmyk(95.9% 90.98% 0% 52.16%)
Android#ff050b7a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #050b7a;
background-color: #050b7a;
bg-[#050b7a]