Color #171e41
A moderately saturated very dark blue.
Conversions
#171e41
rgb(23, 30, 65)
hsl(230, 47.7%, 17.3%)
hsv(230, 64.6%, 25.5%)
cmyk(64.6%, 53.8%, 0%, 74.5%)
lab(12.56, 9.47, -23.3)
lch(12.56, 25.15, 292.12)
oklch(25%, 0.0666, 272.24)
hwb(230, 9%, 74.5%)
Harmony colors
Accessibility
White text reads better on this background (16.17:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1a1a3b · ΔE 2.4
Deuteranopia
#1a1939 · ΔE 2.9
Tritanopia
#173534 · ΔE 23
Achromatopsia
#212121 · ΔE 16.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #171e41;
bg-[#171e41]
Related colors
Frequently asked questions
#171e41 (#171e41) is rgb(23, 30, 65) in RGB.
No, #171e41 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 #171e41, or check how it holds up for accessibility.