Skip to content
Vectorlight.net

#313348

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

HEX
#313348
RGB
49, 51, 72
HSL
234.78°, 19.01%, 23.73%
OKLCH
0.33 0.04 279.92
Names
—
Lists

Codes

FormatValue
HEX#313348
RGBrgb(49 51 72)
HSLhsl(234.78 19.01% 23.73%)
OKLCHoklch(0.33 0.04 279.92)
CMYKcmyk(31.94% 29.17% 0% 71.76%)
Android#ff313348

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #313348;
background-color: #313348;
bg-[#313348]