Skip to content
Vectorlight.net

#1f3333

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

HEX
#1f3333
RGB
31, 51, 51
HSL
180°, 24.39%, 16.08%
OKLCH
0.3 0.03 195.88
Names
—
Lists

Codes

FormatValue
HEX#1f3333
RGBrgb(31 51 51)
HSLhsl(180 24.39% 16.08%)
OKLCHoklch(0.3 0.03 195.88)
CMYKcmyk(39.22% 0% 0% 80%)
Android#ff1f3333

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #1f3333;
background-color: #1f3333;
bg-[#1f3333]