Skip to content
Vectorlight.net

#04342c

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

HEX
#04342c
RGB
4, 52, 44
HSL
170°, 85.71%, 10.98%
OKLCH
0.29 0.05 178.35
Names
—
Lists

Codes

FormatValue
HEX#04342c
RGBrgb(4 52 44)
HSLhsl(170 85.71% 10.98%)
OKLCHoklch(0.29 0.05 178.35)
CMYKcmyk(92.31% 0% 15.38% 79.61%)
Android#ff04342c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04342c;
background-color: #04342c;
bg-[#04342c]