#031F5C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This saturated, dark navy provides a solid foundation for professional and corporate identities. Because of its extreme depth, #031f5c works best as a primary background rather than small text or fine details. It reads crisp and readable with white copy due to high contrast. Use this hex code to establish stability in finance or security interfaces where black feels too harsh.
Questions about #031f5c
What is #031f5c in RGB, HSL and CMYK?
In RGB, #031f5c is rgb(3, 31, 92), in HSL hsl(221, 94%, 19%) and in CMYK 97%, 66%, 0%, 64%. Browse more shades of blue with names and hex codes.
Does #031f5c work well as a background for text?
Yes, #031f5c functions as an excellent dark background because its deep, saturated pigment offers high contrast against white text. It remains highly readable for long-form content or interface dashboards, providing a sophisticated alternative to stark, standard black backgrounds.
What colors pair well with #031f5c?
This deep navy pairs effectively with crisp white for maximum clarity, or soft neutrals like cream or light gray to reduce visual tension. For a more vibrant accent, use warm metallic tones like gold or bronze to contrast its coolness.
Is #031f5c readable on white or black?
#031f5c has a 15.50:1 contrast ratio on white and 1.35:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.