Color #172c38
A moderately saturated very dark blue.
Conversions
#172c38
rgb(23, 44, 56)
hsl(201.8, 41.8%, 15.5%)
hsv(201.8, 58.9%, 22%)
cmyk(58.9%, 21.4%, 0%, 78%)
lab(16.84, -4.26, -10.28)
lch(16.84, 11.13, 247.49)
oklch(28.1%, 0.0349, 235.03)
hwb(201.8, 9%, 78%)
Harmony colors
Accessibility
White text reads better on this background (14.44:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#222235 · ΔE 12.5
Deuteranopia
#201f35 · ΔE 14
Tritanopia
#183333 · ΔE 8.9
Achromatopsia
#2a2a2a · ΔE 9.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #172c38;
bg-[#172c38]
Related colors
Frequently asked questions
#172c38 (#172c38) is rgb(23, 44, 56) in RGB.
No, #172c38 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 #172c38, or check how it holds up for accessibility.