Skip to content
Vectorlight.net

#050e2c

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

HEX
#050e2c
RGB
5, 14, 44
HSL
226.15°, 79.59%, 9.61%
OKLCH
0.18 0.06 266.12
Names
—
Lists

Codes

FormatValue
HEX#050e2c
RGBrgb(5 14 44)
HSLhsl(226.15 79.59% 9.61%)
OKLCHoklch(0.18 0.06 266.12)
CMYKcmyk(88.64% 68.18% 0% 82.75%)
Android#ff050e2c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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