Color #172342
A moderately saturated very dark blue.
Conversions
#172342
rgb(23, 35, 66)
hsl(223.3, 48.3%, 17.5%)
hsv(223.3, 65.2%, 25.9%)
cmyk(65.2%, 47%, 0%, 74.1%)
lab(14.27, 6.1, -21.26)
lch(14.27, 22.12, 286.01)
oklch(26.3%, 0.0605, 266.4)
hwb(223.3, 9%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (15.49:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1d1d3c · ΔE 4.3
Deuteranopia
#1c1b3b · ΔE 4.9
Tritanopia
#183736 · ΔE 21.1
Achromatopsia
#242424 · ΔE 15.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #172342;
bg-[#172342]
Related colors
Frequently asked questions
#172342 (#172342) is rgb(23, 35, 66) in RGB.
No, #172342 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 #172342, or check how it holds up for accessibility.