Skip to content
Vectorlight.net

#313bdb

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

HEX
#313bdb
RGB
49, 59, 219
HSL
236.47°, 70.25%, 52.55%
OKLCH
0.47 0.24 270.31
Names
—
Lists

Codes

FormatValue
HEX#313bdb
RGBrgb(49 59 219)
HSLhsl(236.47 70.25% 52.55%)
OKLCHoklch(0.47 0.24 270.31)
CMYKcmyk(77.63% 73.06% 0% 14.12%)
Android#ff313bdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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