Skip to content
Vectorlight.net

#3a5bfb

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

HEX
#3a5bfb
RGB
58, 91, 251
HSL
229.74°, 96.02%, 60.59%
OKLCH
0.55 0.24 268.06
Names
—
Lists

Codes

FormatValue
HEX#3a5bfb
RGBrgb(58 91 251)
HSLhsl(229.74 96.02% 60.59%)
OKLCHoklch(0.55 0.24 268.06)
CMYKcmyk(76.89% 63.75% 0% 1.57%)
Android#ff3a5bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3a5bfb;
background-color: #3a5bfb;
bg-[#3a5bfb]