Skip to content
Vectorlight.net

#04304a

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

HEX
#04304a
RGB
4, 48, 74
HSL
202.29°, 89.74%, 15.29%
OKLCH
0.3 0.07 241.04
Names
—
Lists

Codes

FormatValue
HEX#04304a
RGBrgb(4 48 74)
HSLhsl(202.29 89.74% 15.29%)
OKLCHoklch(0.3 0.07 241.04)
CMYKcmyk(94.59% 35.14% 0% 70.98%)
Android#ff04304a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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