Skip to content
Vectorlight.net

#3791fa

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

HEX
#3791fa
RGB
55, 145, 250
HSL
212.31°, 95.12%, 59.8%
OKLCH
0.66 0.18 254.8
Names
—
Lists

Codes

FormatValue
HEX#3791fa
RGBrgb(55 145 250)
HSLhsl(212.31 95.12% 59.8%)
OKLCHoklch(0.66 0.18 254.8)
CMYKcmyk(78% 42% 0% 1.96%)
Android#ff3791fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.18:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.59:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#3791fa"
Gradient stop
<stop stop-color="#3791fa"/>
CSS variable + fill
:root { --c: #3791fa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #3791fa;
background-color: #3791fa;
bg-[#3791fa]