Skip to content
Vectorlight.net

#04230b

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

HEX
#04230b
RGB
4, 35, 11
HSL
133.55°, 79.49%, 7.65%
OKLCH
0.23 0.06 148.07
Names
—
Lists

Codes

FormatValue
HEX#04230b
RGBrgb(4 35 11)
HSLhsl(133.55 79.49% 7.65%)
OKLCHoklch(0.23 0.06 148.07)
CMYKcmyk(88.57% 0% 68.57% 86.27%)
Android#ff04230b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04230b;
background-color: #04230b;
bg-[#04230b]