Color #172172
A moderately saturated dark blue.
Conversions
#172172
rgb(23, 33, 114)
hsl(233.4, 66.4%, 26.9%)
hsv(233.4, 79.8%, 44.7%)
cmyk(79.8%, 71.1%, 0%, 55.3%)
lab(17.85, 27.05, -47.59)
lch(17.85, 54.74, 299.61)
oklch(30.3%, 0.1378, 269.96)
hwb(233.4, 9%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (14.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#1c1c65 · ΔE 2.6
Deuteranopia
#1b1a62 · ΔE 3.2
Tritanopia
#185a57 · ΔE 32.1
Achromatopsia
#2c2c2c · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #172172;
bg-[#172172]
Related colors
Frequently asked questions
#172172 (#172172) is rgb(23, 33, 114) in RGB.
No, #172172 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 #172172, or check how it holds up for accessibility.