Skip to content
Vectorlight.net

#054feb

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

HEX
#054feb
RGB
5, 79, 235
HSL
220.7°, 95.83%, 47.06%
OKLCH
0.5 0.24 262.79
Names
—
Lists

Codes

FormatValue
HEX#054feb
RGBrgb(5 79 235)
HSLhsl(220.7 95.83% 47.06%)
OKLCHoklch(0.5 0.24 262.79)
CMYKcmyk(97.87% 66.38% 0% 7.84%)
Android#ff054feb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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