Skip to content
Vectorlight.net

#054ffb

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

HEX
#054ffb
RGB
5, 79, 251
HSL
221.95°, 96.85%, 50.2%
OKLCH
0.52 0.26 263.23
Names
—
Lists

Codes

FormatValue
HEX#054ffb
RGBrgb(5 79 251)
HSLhsl(221.95 96.85% 50.2%)
OKLCHoklch(0.52 0.26 263.23)
CMYKcmyk(98.01% 68.53% 0% 1.57%)
Android#ff054ffb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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