Color #171f34
A muted very dark blue.
Conversions
#171f34
rgb(23, 31, 52)
hsl(223.4, 38.7%, 14.7%)
hsv(223.4, 55.8%, 20.4%)
cmyk(55.8%, 40.4%, 0%, 79.6%)
lab(12.02, 3.58, -14.93)
lch(12.02, 15.35, 283.48)
oklch(24.3%, 0.042, 267.41)
hwb(223.4, 9%, 79.6%)
Harmony colors
Accessibility
White text reads better on this background (16.38:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1b1b30 · ΔE 3.8
Deuteranopia
#1a1a2f · ΔE 3.9
Tritanopia
#172c2b · ΔE 16.7
Achromatopsia
#202020 · ΔE 11.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #171f34;
bg-[#171f34]
Related colors
Frequently asked questions
#171f34 (#171f34) is rgb(23, 31, 52) in RGB.
No, #171f34 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 #171f34, or check how it holds up for accessibility.