Skip to content
Vectorlight.net

#042829

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

HEX
#042829
RGB
4, 40, 41
HSL
181.62°, 82.22%, 8.82%
OKLCH
0.25 0.04 197.68
Names
—
Lists

Codes

FormatValue
HEX#042829
RGBrgb(4 40 41)
HSLhsl(181.62 82.22% 8.82%)
OKLCHoklch(0.25 0.04 197.68)
CMYKcmyk(90.24% 2.44% 0% 83.92%)
Android#ff042829

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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