#071A31 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This extremely dark, cool-toned blue functions as a near-black in UI design. Because it holds significant weight, #071a31 works best as a primary background for corporate branding or tech interfaces. It supports white text with excellent 17.5:1 contrast, making it perfect for readable dark mode layouts. Avoid pairing this hex code with muted grays to prevent the composition from looking muddy.
Questions about #071a31
What is #071a31 in RGB, HSL and CMYK?
In RGB, #071a31 is rgb(7, 26, 49), in HSL hsl(213, 75%, 11%) and in CMYK 86%, 47%, 0%, 81%. Browse more shades of blue with names and hex codes.
Is #071a31 a good choice for dark mode UI?
Yes, this hex color is highly effective for dark mode layouts because it mimics black without the visual harshness of pure black. Its deep, cool blue base ensures excellent readability for white text, maintaining a 17.5:1 contrast ratio that meets strict accessibility standards for professional digital products.
What colors work well with #071a31 in a design palette?
Pair #071a31 with crisp white or soft silver to maintain high contrast and clean lines. For accent colors, avoid muddy grays; instead, use saturated tones like a bright electric blue to cut through the depth and create a modern, tech-focused aesthetic.
Is #071a31 readable on white or black?
#071a31 has a 17.48:1 contrast ratio on white and 1.20: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.