#173F5F
Color Details
HEX
#173F5F
RGB
rgb(23, 63, 95)
HSL
hsl(207, 61%, 23%)
CMYK
cmyk(76%, 34%, 0%, 63%)
Best text on this color
#FFFFFF (CR 10.98:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #173F5F
#173F5F converts to RGB(23, 63, 95) and HSL(207, 61%, 23%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#173F5F FAQs
What is the RGB value of #173F5F?
RGB: 23, 63, 95. Copy as CSS:
rgb(23, 63, 95)
Is #173F5F a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #173F5F?
Complement: #5e3717.
Does #173F5F have good contrast on white or black?
On white: 10.98:1 (AAA (normal text)).
On black: 1.91:1 (Fails AA).