Color #173d7d
A moderately saturated dark blue.
Conversions
#173d7d
rgb(23, 61, 125)
hsl(217.6, 68.9%, 29%)
hsv(217.6, 81.6%, 49%)
cmyk(81.6%, 51.2%, 0%, 51%)
lab(26.73, 11.77, -40.13)
lch(26.73, 41.82, 286.35)
oklch(37.2%, 0.1171, 260.22)
hwb(217.6, 9%, 51%)
Harmony colors
Accessibility
White text reads better on this background (10.5:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2c2c72 · ΔE 7.9
Deuteranopia
#2a276f · ΔE 9.2
Tritanopia
#1a6765 · ΔE 28.2
Achromatopsia
#3f3f3f · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #173d7d;
bg-[#173d7d]
Related colors
Frequently asked questions
#173d7d (#173d7d) is rgb(23, 61, 125) in RGB.
No, #173d7d 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 #173d7d, or check how it holds up for accessibility.