Skip to content
Vectorlight.net

#045198

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

HEX
#045198
RGB
4, 81, 152
HSL
208.78°, 94.87%, 30.59%
OKLCH
0.44 0.13 253.42
Names
—
Lists

Codes

FormatValue
HEX#045198
RGBrgb(4 81 152)
HSLhsl(208.78 94.87% 30.59%)
OKLCHoklch(0.44 0.13 253.42)
CMYKcmyk(97.37% 46.71% 0% 40.39%)
Android#ff045198

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #045198;
background-color: #045198;
bg-[#045198]