Skip to content
Vectorlight.net

#04458f

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

HEX
#04458f
RGB
4, 69, 143
HSL
211.94°, 94.56%, 28.82%
OKLCH
0.4 0.14 256.58
Names
—
Lists

Codes

FormatValue
HEX#04458f
RGBrgb(4 69 143)
HSLhsl(211.94 94.56% 28.82%)
OKLCHoklch(0.4 0.14 256.58)
CMYKcmyk(97.2% 51.75% 0% 43.92%)
Android#ff04458f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04458f;
background-color: #04458f;
bg-[#04458f]