Skip to content
Vectorlight.net

#054bfa

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

HEX
#054bfa
RGB
5, 75, 250
HSL
222.86°, 96.08%, 50%
OKLCH
0.51 0.26 263.48
Names
—
Lists

Codes

FormatValue
HEX#054bfa
RGBrgb(5 75 250)
HSLhsl(222.86 96.08% 50%)
OKLCHoklch(0.51 0.26 263.48)
CMYKcmyk(98% 70% 0% 1.96%)
Android#ff054bfa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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