Skip to content
Vectorlight.net

#04597d

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

HEX
#04597d
RGB
4, 89, 125
HSL
197.85°, 93.8%, 25.29%
OKLCH
0.44 0.09 235.1
Names
—
Lists

Codes

FormatValue
HEX#04597d
RGBrgb(4 89 125)
HSLhsl(197.85 93.8% 25.29%)
OKLCHoklch(0.44 0.09 235.1)
CMYKcmyk(96.8% 28.8% 0% 50.98%)
Android#ff04597d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04597d;
background-color: #04597d;
bg-[#04597d]