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

Darker than a midnight sky, this navy barely lifts off black. The hex code #0a1838 earns its keep as a dominant background in dark mode, dashboards, and formal layouts, where white text reaches about 17.5:1 contrast. Its muted, cold depth suits finance and law enforcement branding. Pair it with brushed gold or burgundy so it never reads flat.
Questions about #0a1838
What is #0a1838 in RGB, HSL and CMYK?
In RGB, #0a1838 is rgb(10, 24, 56), in HSL hsl(222, 70%, 13%) and in CMYK 82%, 57%, 0%, 78%.
What colors pair well with #0a1838?
Warm metallics like brass and gold, plus burgundy or deep plum, keep #0a1838 from reading flat. For text and UI elements, white and pale blues give the strongest contrast.
Is #0a1838 readable on white or black?
#0a1838 has a 17.49: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.