Skip to content
Vectorlight.net

#054eab

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

HEX
#054eab
RGB
5, 78, 171
HSL
213.61°, 94.32%, 34.51%
OKLCH
0.44 0.16 258.34
Names
—
Lists

Codes

FormatValue
HEX#054eab
RGBrgb(5 78 171)
HSLhsl(213.61 94.32% 34.51%)
OKLCHoklch(0.44 0.16 258.34)
CMYKcmyk(97.08% 54.39% 0% 32.94%)
Android#ff054eab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #054eab;
background-color: #054eab;
bg-[#054eab]