Skip to content
Kolorvia
#1f1f24

Color #1f1f24

A nearly neutral, gray-leaning very dark blue.

Conversions

HEX
#1f1f24
RGB
rgb(31, 31, 36)
HSL
hsl(240, 7.5%, 13.1%)
HSV / HSB
hsv(240, 13.9%, 14.1%)
CMYK
cmyk(13.9%, 13.9%, 0%, 85.9%)
LAB
lab(11.95, 1.32, -3.38)
LCH
lch(11.95, 3.63, 291.33)
OKLCH
oklch(24.1%, 0.0095, 285.95)
HWB
hwb(240, 12.2%, 85.9%)

Harmony colors

Complementary

#24241f

Analogous

#1f2124
#1f1f24
#211f24

Triadic

#1f1f24
#241f1f
#1f241f

Split-complementary

#1f1f24
#24211f
#21241f

Tetradic

#1f1f24
#241f24
#24241f
#1f241f

Square

#1f1f24
#241f21
#24241f
#1f2421

Shades

Color #1f1f24 mixed toward black.

#1a1a1e
#151518
#0f0f12
#0a0a0c
#050506

Tints

Color #1f1f24 mixed toward white.

#41414c
#636373
#888899
#b0b0bb
#d7d7dd

Tones

Color #1f1f24 mixed toward gray.

#1f1f23
#202023
#202023
#212122
#212122

Accessibility

Aa White text on this color
16.41:1
Aa Black text on this color
1.28:1

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

Under color vision deficiencies

Protanopia

#1f1f23 · ΔE 0.7

Deuteranopia

#1f1f23 · ΔE 0.7

Tritanopia

#1f2222 · ΔE 4.7

Achromatopsia

#1f1f1f · ΔE 3.6

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

Code

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

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#1f1f24 (#1f1f24) is rgb(31, 31, 36) in RGB.

No, #1f1f24 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 #1f1f24, 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.