Skip to content
Vectorlight.net

#5401cb

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

HEX
#5401cb
RGB
84, 1, 203
HSL
264.65°, 99.02%, 40%
OKLCH
0.43 0.25 287.15
Names
—
Lists

Codes

FormatValue
HEX#5401cb
RGBrgb(84 1 203)
HSLhsl(264.65 99.02% 40%)
OKLCHoklch(0.43 0.25 287.15)
CMYKcmyk(58.62% 99.51% 0% 20.39%)
Android#ff5401cb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5401cb;
background-color: #5401cb;
bg-[#5401cb]