#0A1128 Hex Color
A deep inky black with muted undertones

Inky and authoritative, #0a1128 sits on the edge of black with a dusty, muted undertone. It provides a secure, serious foundation for UI backgrounds and dark mode interfaces. Because of its extremely dark value, use it with sharp, high-contrast white text for readability. Pair this hex code with soft teals or muted golds to prevent the design from feeling too heavy or gloomy.
Questions about #0a1128
What is #0a1128 in RGB, HSL and CMYK?
In RGB, #0a1128 is rgb(10, 17, 40), in HSL hsl(226, 60%, 10%) and in CMYK 75%, 58%, 0%, 84%.
How do I best pair #0a1128 in design?
Because #0a1128 is an extremely dark and heavy shade, it functions best when paired with high-contrast text like white or soft, muted metallics. Accents in sage or soft gold help break up the density without overwhelming the interface.
Is #0a1128 suitable for text-heavy layouts?
Use #0a1128 sparingly for large blocks of text as the intense, near-black value can cause eye strain during extended reading. It works most effectively as a structural background color in dark mode, allowing lighter content to pop against the surface.
Is #0a1128 readable on white or black?
#0a1128 has a 18.68:1 contrast ratio on white and 1.12: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.