Skip to content
Vectorlight.net

#313eeb

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

HEX
#313eeb
RGB
49, 62, 235
HSL
235.81°, 82.3%, 55.69%
OKLCH
0.49 0.25 269.53
Names
—
Lists

Codes

FormatValue
HEX#313eeb
RGBrgb(49 62 235)
HSLhsl(235.81 82.3% 55.69%)
OKLCHoklch(0.49 0.25 269.53)
CMYKcmyk(79.15% 73.62% 0% 7.84%)
Android#ff313eeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #313eeb;
background-color: #313eeb;
bg-[#313eeb]