Skip to content
Vectorlight.net

#04161a

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

HEX
#04161a
RGB
4, 22, 26
HSL
190.91°, 73.33%, 5.88%
OKLCH
0.19 0.03 213.42
Names
—
Lists

Codes

FormatValue
HEX#04161a
RGBrgb(4 22 26)
HSLhsl(190.91 73.33% 5.88%)
OKLCHoklch(0.19 0.03 213.42)
CMYKcmyk(84.62% 15.38% 0% 89.8%)
Android#ff04161a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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