Skip to content
Vectorlight.net

#050997

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

HEX
#050997
RGB
5, 9, 151
HSL
238.36°, 93.59%, 30.59%
OKLCH
0.31 0.21 265.17
Names
—
Lists

Codes

FormatValue
HEX#050997
RGBrgb(5 9 151)
HSLhsl(238.36 93.59% 30.59%)
OKLCHoklch(0.31 0.21 265.17)
CMYKcmyk(96.69% 94.04% 0% 40.78%)
Android#ff050997

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #050997;
background-color: #050997;
bg-[#050997]