#0A204E Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#0a204e is an authoritative, midnight navy with intense depth that anchors dark UI designs. Because it functions well as a near-black base, use it for professional dashboards or moody branding where white text is essential. With a 15.8:1 contrast ratio against white, type remains readable at any scale. Pair this hex code with metallic gold to cut through its stark, serious character.
Questions about #0a204e
What is #0a204e in RGB, HSL and CMYK?
In RGB, #0a204e is rgb(10, 32, 78), in HSL hsl(221, 77%, 17%) and in CMYK 87%, 59%, 0%, 69%.
What makes #0a204e effective for dark mode UI?
#0a204e functions as a superior alternative to pure black because it retains a sophisticated, subtle blue hue that feels less harsh on screens. It offers a massive 15.8:1 contrast ratio against white text, ensuring your typography remains perfectly sharp and readable at every scale.
Which colors pair best with #0a204e for professional branding?
This midnight navy anchors designs exceptionally well when paired with metallic accents like gold or copper to create a high-end, serious contrast. Alternatively, you can use crisp, high-value whites or soft silver grays to maintain a clean, modern aesthetic without overwhelming the dark base.
Is #0a204e readable on white or black?
#0a204e has a 15.79:1 contrast ratio on white and 1.32: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.