Skip to content
Vectorlight.net

#04507a

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

HEX
#04507a
RGB
4, 80, 122
HSL
201.36°, 93.65%, 24.71%
OKLCH
0.41 0.1 241.73
Names
—
Lists

Codes

FormatValue
HEX#04507a
RGBrgb(4 80 122)
HSLhsl(201.36 93.65% 24.71%)
OKLCHoklch(0.41 0.1 241.73)
CMYKcmyk(96.72% 34.43% 0% 52.16%)
Android#ff04507a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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