Skip to content
Vectorlight.net

#045aad

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

HEX
#045aad
RGB
4, 90, 173
HSL
209.47°, 95.48%, 34.71%
OKLCH
0.47 0.15 254.53
Names
—
Lists

Codes

FormatValue
HEX#045aad
RGBrgb(4 90 173)
HSLhsl(209.47 95.48% 34.71%)
OKLCHoklch(0.47 0.15 254.53)
CMYKcmyk(97.69% 47.98% 0% 32.16%)
Android#ff045aad

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #045aad;
background-color: #045aad;
bg-[#045aad]