Skip to content
Vectorlight.net

#31344a

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

HEX
#31344a
RGB
49, 52, 74
HSL
232.8°, 20.33%, 24.12%
OKLCH
0.33 0.04 278.04
Names
—
Lists

Codes

FormatValue
HEX#31344a
RGBrgb(49 52 74)
HSLhsl(232.8 20.33% 24.12%)
OKLCHoklch(0.33 0.04 278.04)
CMYKcmyk(33.78% 29.73% 0% 70.98%)
Android#ff31344a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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