#081F5C Hex Color
A commanding and deep midnight navy

This extremely dark blue provides a stable foundation for corporate and tech-focused UI designs. Because it is so deep, it pairs best with bright, off-white accents or neon highlights rather than muted tones. White text achieves excellent readability against this background, offering a high-contrast choice for dark mode interfaces. The hex code for this moody, professional shade is #081f5c.
Questions about #081f5c
What is #081f5c in RGB, HSL and CMYK?
In RGB, #081f5c is rgb(8, 31, 92), in HSL hsl(224, 84%, 20%) and in CMYK 91%, 66%, 0%, 64%.
What colors pair best with #081f5c for web design?
This deep shade relies on bright, off-white accents or neon highlights to maintain visual balance and prevent the design from feeling too heavy. Pairing #081f5c with silver or electric cyan creates a striking, modern aesthetic that feels inherently tech-focused and clean.
How does #081f5c perform in dark mode interfaces?
Because #081f5c is an extremely dark and saturated blue, it works exceptionally well as a background color for dark mode layouts. It offers enough depth to feel premium while allowing white or light-toned typography to pop with excellent legibility and contrast.
Is #081f5c readable on white or black?
#081f5c has a 15.43:1 contrast ratio on white and 1.36: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.