Color #1b1f2d
A muted very dark blue.
Conversions
#1b1f2d
rgb(27, 31, 45)
hsl(226.7, 25%, 14.1%)
hsv(226.7, 40%, 17.6%)
cmyk(40%, 31.1%, 0%, 82.4%)
lab(11.97, 2.44, -9.93)
lch(11.97, 10.23, 283.81)
oklch(24.2%, 0.0275, 271.87)
hwb(226.7, 10.6%, 82.4%)
Harmony colors
Accessibility
White text reads better on this background (16.4:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d2a · ΔE 2.2
Deuteranopia
#1d1c29 · ΔE 2.8
Tritanopia
#1b2827 · ΔE 12.5
Achromatopsia
#1f1f1f · ΔE 8.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b1f2d;
bg-[#1b1f2d]
Related colors
Frequently asked questions
#1b1f2d (#1b1f2d) is rgb(27, 31, 45) in RGB.
No, #1b1f2d is not web-safe. The nearest web-safe colors are among its tones and shades below.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #1b1f2d, or check how it holds up for accessibility.