Skip to content
Kolorvia
#1f1e22

Color #1f1e22

A nearly neutral, gray-leaning very dark blue.

Conversions

HEX
#1f1e22
RGB
rgb(31, 30, 34)
HSL
hsl(255, 6.3%, 12.5%)
HSV / HSB
hsv(255, 11.8%, 13.3%)
CMYK
cmyk(8.8%, 11.8%, 0%, 86.7%)
LAB
lab(11.52, 1.5, -2.55)
LCH
lch(11.52, 2.96, 300.47)
OKLCH
oklch(23.8%, 0.0076, 297.24)
HWB
hwb(255, 11.8%, 86.7%)

Harmony colors

Complementary

#21221e

Analogous

#1e1f22
#1f1e22
#211e22

Triadic

#1f1e22
#221f1e
#1e221f

Split-complementary

#1f1e22
#22211e
#1f221e

Tetradic

#1f1e22
#221e21
#21221e
#1e221f

Square

#1f1e22
#221e1f
#21221e
#1e2221

Shades

Color #1f1e22 mixed toward black.

#1a191c
#151417
#0f0f11
#0a0a0b
#050506

Tints

Color #1f1e22 mixed toward white.

#434149
#676471
#8c8896
#b2b0b9
#d9d7dc

Tones

Color #1f1e22 mixed toward gray.

#1f1e22
#1f1f21
#1f1f21
#201f21
#202020

Accessibility

Aa White text on this color
16.57:1
Aa Black text on this color
1.27:1

White text reads better on this background (16.57:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#1f1f21 · ΔE 1.7

Deuteranopia

#1f1f21 · ΔE 1.7

Tritanopia

#1f2020 · ΔE 3.6

Achromatopsia

#1f1f1f · ΔE 3.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #1f1e22;
Tailwind (arbitrary value)
bg-[#1f1e22]

Related colors

Medium Purple #9370db
Dark Slate Blue #483d8b
Medium Slate Blue #7b68ee
Slate Blue #6a5acd
Navy #000080
Lavender #e6e6fa

Frequently asked questions

#1f1e22 (#1f1e22) is rgb(31, 30, 34) in RGB.

No, #1f1e22 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #1f1e22, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.