Skip to content
Vectorlight.net

#1f362b

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

HEX
#1f362b
RGB
31, 54, 43
HSL
151.3°, 27.06%, 16.67%
OKLCH
0.31 0.04 162.69
Names
—
Lists

Codes

FormatValue
HEX#1f362b
RGBrgb(31 54 43)
HSLhsl(151.3 27.06% 16.67%)
OKLCHoklch(0.31 0.04 162.69)
CMYKcmyk(42.59% 0% 20.37% 78.82%)
Android#ff1f362b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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