Skip to content
Vectorlight.net

#31324a

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

HEX
#31324a
RGB
49, 50, 74
HSL
237.6°, 20.33%, 24.12%
OKLCH
0.33 0.04 281.94
Names
—
Lists

Codes

FormatValue
HEX#31324a
RGBrgb(49 50 74)
HSLhsl(237.6 20.33% 24.12%)
OKLCHoklch(0.33 0.04 281.94)
CMYKcmyk(33.78% 32.43% 0% 70.98%)
Android#ff31324a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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