Skip to content
Vectorlight.net

#050642

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

HEX
#050642
RGB
5, 6, 66
HSL
239.02°, 85.92%, 13.92%
OKLCH
0.19 0.11 268.98
Names
—
Lists

Codes

FormatValue
HEX#050642
RGBrgb(5 6 66)
HSLhsl(239.02 85.92% 13.92%)
OKLCHoklch(0.19 0.11 268.98)
CMYKcmyk(92.42% 90.91% 0% 74.12%)
Android#ff050642

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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