Skip to content
Kolorvia
#1b1f31

Color #1b1f31

A muted very dark blue.

Conversions

HEX
#1b1f31
RGB
rgb(27, 31, 49)
HSL
hsl(229.1, 28.9%, 14.9%)
HSV / HSB
hsv(229.1, 44.9%, 19.2%)
CMYK
cmyk(44.9%, 36.7%, 0%, 80.8%)
LAB
lab(12.19, 3.82, -12.49)
LCH
lch(12.19, 13.06, 287.01)
OKLCH
oklch(24.4%, 0.0349, 273.95)
HWB
hwb(229.1, 10.6%, 80.8%)

Harmony colors

Complementary

#312d1b

Analogous

#1b2a31
#1b1f31
#221b31

Triadic

#1b1f31
#311b1f
#1f311b

Split-complementary

#1b1f31
#31221b
#2a311b

Tetradic

#1b1f31
#2d1b31
#312d1b
#1f311b

Square

#1b1f31
#311b2a
#312d1b
#1b3122

Shades

Color #1b1f31 mixed toward black.

#171a29
#121521
#0e1018
#090a10
#050508

Tints

Color #1b1f31 mixed toward white.

#353d60
#4e5a8e
#737fb2
#a2a9cc
#d0d4e5

Tones

Color #1b1f31 mixed toward gray.

#1d202f
#1f212d
#21222b
#22242a
#242528

Accessibility

Aa White text on this color
16.32:1
Aa Black text on this color
1.29:1

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

Under color vision deficiencies

Protanopia

#1d1d2d · ΔE 2

Deuteranopia

#1d1c2c · ΔE 2.5

Tritanopia

#1b2a29 · ΔE 15

Achromatopsia

#202020 · ΔE 10.5

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#1b1f31 (#1b1f31) is rgb(27, 31, 49) in RGB.

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