Skip to content
Vectorlight.net

#3157ed

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

HEX
#3157ed
RGB
49, 87, 237
HSL
227.87°, 83.93%, 56.08%
OKLCH
0.53 0.23 266.82
Names
—
Lists

Codes

FormatValue
HEX#3157ed
RGBrgb(49 87 237)
HSLhsl(227.87 83.93% 56.08%)
OKLCHoklch(0.53 0.23 266.82)
CMYKcmyk(79.32% 63.29% 0% 7.06%)
Android#ff3157ed

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #3157ed;
background-color: #3157ed;
bg-[#3157ed]