#0D1828 Hex Color

Deep midnight blue with moody professional edge

Hex color #0d1828 graphic
This dark, desaturated shade functions as a grounded alternative to pure black. Because #0d1828 sits so deep on the spectrum, it creates a moody, professional atmosphere perfect for minimal UI backgrounds. Pair it with soft cream text for readability or bright orange accents to create high contrast. The hex code for this dim, dusty blue is #0d1828.

Questions about #0d1828

What is #0d1828 in RGB, HSL and CMYK?
In RGB, #0d1828 is rgb(13, 24, 40), in HSL hsl(216, 51%, 10%) and in CMYK 67%, 40%, 0%, 84%.
What colors pair well with #0d1828 for UI design?
This deep shade works best with soft creams or stark whites to ensure high legibility in text-heavy layouts. For accenting, try pairing #0d1828 with vibrant orange or gold to create a striking, modern contrast that feels intentional and balanced.
Is #0d1828 readable on white or black?
#0d1828 has a 17.82:1 contrast ratio on white and 1.17: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.