Color #173a79
A moderately saturated dark blue.
Conversions
#173a79
rgb(23, 58, 121)
hsl(218.6, 68.1%, 28.2%)
hsv(218.6, 81%, 47.5%)
cmyk(81%, 52.1%, 0%, 52.5%)
lab(25.53, 12.22, -39.55)
lch(25.53, 41.39, 287.17)
oklch(36.2%, 0.1152, 261.06)
hwb(218.6, 9%, 52.5%)
Harmony colors
Accessibility
White text reads better on this background (10.95:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a6e · ΔE 7.4
Deuteranopia
#28256b · ΔE 8.7
Tritanopia
#1a6461 · ΔE 28.5
Achromatopsia
#3c3c3c · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #173a79;
bg-[#173a79]
Related colors
Frequently asked questions
#173a79 (#173a79) is rgb(23, 58, 121) in RGB.
No, #173a79 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 #173a79, or check how it holds up for accessibility.