Skip to content
Vectorlight.net

#313fcb

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

HEX
#313fcb
RGB
49, 63, 203
HSL
234.55°, 61.11%, 49.41%
OKLCH
0.46 0.21 270.42
Names
—
Lists

Codes

FormatValue
HEX#313fcb
RGBrgb(49 63 203)
HSLhsl(234.55 61.11% 49.41%)
OKLCHoklch(0.46 0.21 270.42)
CMYKcmyk(75.86% 68.97% 0% 20.39%)
Android#ff313fcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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