Color #1b1f34
A muted very dark blue.
Conversions
#1b1f34
rgb(27, 31, 52)
hsl(230.4, 31.6%, 15.5%)
hsv(230.4, 48.1%, 20.4%)
cmyk(48.1%, 40.4%, 0%, 79.6%)
lab(12.36, 4.88, -14.38)
lch(12.36, 15.19, 288.75)
oklch(24.6%, 0.0404, 274.82)
hwb(230.4, 10.6%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (16.25:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d30 · ΔE 1.9
Deuteranopia
#1d1c2f · ΔE 2.4
Tritanopia
#1b2c2b · ΔE 16.8
Achromatopsia
#202020 · ΔE 11.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1b1f34;
bg-[#1b1f34]
Related colors
Frequently asked questions
#1b1f34 (#1b1f34) is rgb(27, 31, 52) in RGB.
No, #1b1f34 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
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 #1b1f34, or check how it holds up for accessibility.