Skip to content
Vectorlight.net

#1f413b

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

HEX
#1f413b
RGB
31, 65, 59
HSL
169.41°, 35.42%, 18.82%
OKLCH
0.35 0.04 180.97
Names
—
Lists

Codes

FormatValue
HEX#1f413b
RGBrgb(31 65 59)
HSLhsl(169.41 35.42% 18.82%)
OKLCHoklch(0.35 0.04 180.97)
CMYKcmyk(52.31% 0% 9.23% 74.51%)
Android#ff1f413b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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