Color #172831
A muted very dark blue.
Conversions
#172831
rgb(23, 40, 49)
hsl(200.8, 36.1%, 14.1%)
hsv(200.8, 53.1%, 19.2%)
cmyk(53.1%, 18.4%, 0%, 80.8%)
lab(15.07, -4.03, -8.08)
lch(15.07, 9.03, 243.49)
oklch(26.6%, 0.0282, 232.36)
hwb(200.8, 9%, 80.8%)
Harmony colors
Accessibility
White text reads better on this background (15.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1f202f · ΔE 10.5
Deuteranopia
#1e1d2e · ΔE 12.5
Tritanopia
#182d2d · ΔE 6.9
Achromatopsia
#262626 · ΔE 8.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #172831;
bg-[#172831]
Related colors
Frequently asked questions
#172831 (#172831) is rgb(23, 40, 49) in RGB.
No, #172831 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 #172831, or check how it holds up for accessibility.