Skip to content
Vectorlight.net

#31364a

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

HEX
#31364a
RGB
49, 54, 74
HSL
228°, 20.33%, 24.12%
OKLCH
0.34 0.04 273.47
Names
—
Lists

Codes

FormatValue
HEX#31364a
RGBrgb(49 54 74)
HSLhsl(228 20.33% 24.12%)
OKLCHoklch(0.34 0.04 273.47)
CMYKcmyk(33.78% 27.03% 0% 70.98%)
Android#ff31364a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31364a;
background-color: #31364a;
bg-[#31364a]