Skip to content
Vectorlight.net

#040429

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

HEX
#040429
RGB
4, 4, 41
HSL
240°, 82.22%, 8.82%
OKLCH
0.15 0.08 272.27
Names
—
Lists

Codes

FormatValue
HEX#040429
RGBrgb(4 4 41)
HSLhsl(240 82.22% 8.82%)
OKLCHoklch(0.15 0.08 272.27)
CMYKcmyk(90.24% 90.24% 0% 83.92%)
Android#ff040429

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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