Color #173879
A moderately saturated dark blue.
Conversions
#173879
rgb(23, 56, 121)
hsl(219.8, 68.1%, 28.2%)
hsv(219.8, 81%, 47.5%)
cmyk(81%, 53.7%, 0%, 52.5%)
lab(24.92, 13.64, -40.53)
lch(24.92, 42.76, 288.6)
oklch(35.7%, 0.1178, 262.05)
hwb(219.8, 9%, 52.5%)
Harmony colors
Accessibility
White text reads better on this background (11.18:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#29296e · ΔE 6.9
Deuteranopia
#27246b · ΔE 8.2
Tritanopia
#1a6361 · ΔE 28.6
Achromatopsia
#3b3b3b · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #173879;
bg-[#173879]
Related colors
Frequently asked questions
#173879 (#173879) is rgb(23, 56, 121) in RGB.
No, #173879 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 #173879, or check how it holds up for accessibility.