#0A161E Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #0a161e graphic
A nearly black shade of blue, #0a161e feels heavy and serious. Its extremely low lightness makes it an excellent choice for dark mode UI backgrounds where you need high contrast without the harshness of pure black. Pair this hex code with soft grays or muted metallics to keep the palette legible. Because it is so dark, avoid using it for fine text or small UI details.

Questions about #0a161e

What is #0a161e in RGB, HSL and CMYK?
In RGB, #0a161e is rgb(10, 22, 30), in HSL hsl(204, 50%, 8%) and in CMYK 67%, 27%, 0%, 88%.
Is #0a161e a better choice than pure black for UI design?
#0a161e serves as an excellent alternative to pure black because it provides a softer, more sophisticated foundation for dark mode interfaces. Its deep blue undertones reduce visual fatigue while still offering the high contrast necessary to keep light-colored text or iconography readable.
Which accent colors pair well with #0a161e?
Pair #0a161e with muted metallics, cool greys, or even off-white tones to maintain a professional, high-end aesthetic. Since the color is so dark, avoid using it with other very dark shades, as they will blend in and create poor accessibility for your users.
Is #0a161e readable on white or black?
#0a161e has a 18.31:1 contrast ratio on white and 1.14: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.