Skip to content
Vectorlight.net

#004dae

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

HEX
#004dae
RGB
0, 77, 174
HSL
213.45°, 100%, 34.12%
OKLCH
0.44 0.17 258.56
Names
—
Lists

Codes

FormatValue
HEX#004dae
RGBrgb(0 77 174)
HSLhsl(213.45 100% 34.12%)
OKLCHoklch(0.44 0.17 258.56)
CMYKcmyk(100% 55.75% 0% 31.76%)
Android#ff004dae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #004dae;
background-color: #004dae;
bg-[#004dae]