Skip to content
Vectorlight.net

#05041a

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

HEX
#05041a
RGB
5, 4, 26
HSL
242.73°, 73.33%, 5.88%
OKLCH
0.13 0.05 279.92
Names
—
Lists

Codes

FormatValue
HEX#05041a
RGBrgb(5 4 26)
HSLhsl(242.73 73.33% 5.88%)
OKLCHoklch(0.13 0.05 279.92)
CMYKcmyk(80.77% 84.62% 0% 89.8%)
Android#ff05041a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #05041a;
background-color: #05041a;
bg-[#05041a]