Color #1d172e
A muted very dark blue.
Conversions
#1d172e
rgb(29, 23, 46)
hsl(255.7, 33.3%, 13.5%)
hsv(255.7, 50%, 18%)
cmyk(37%, 50%, 0%, 82%)
lab(9.57, 9.54, -14.39)
lch(9.57, 17.27, 303.54)
oklch(22.4%, 0.0443, 294.54)
hwb(255.7, 9%, 82%)
Harmony colors
Accessibility
White text reads better on this background (17.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1b1b2a · ΔE 5.3
Deuteranopia
#1b1b29 · ΔE 5.7
Tritanopia
#1d2625 · ΔE 18.1
Achromatopsia
#1b1b1b · ΔE 13.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #1d172e;
bg-[#1d172e]
Related colors
Frequently asked questions
#1d172e (#1d172e) is rgb(29, 23, 46) in RGB.
No, #1d172e 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 #1d172e, or check how it holds up for accessibility.