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

This dark, inky blue is almost black, providing an authoritative and stable backdrop for corporate or security-focused UI designs. Because #0d152e is so desaturated and moody, it reads as a solid neutral for dark mode backgrounds. White text stands out clearly against this hex code, offering excellent readability. Pair it with soft cream accents to reduce its severity.
Questions about #0d152e
What is #0d152e in RGB, HSL and CMYK?
In RGB, #0d152e is rgb(13, 21, 46), in HSL hsl(225, 56%, 12%) and in CMYK 72%, 54%, 0%, 82%.
How should I use #0d152e in web design?
#0d152e functions best as a sophisticated alternative to pure black for background surfaces. Because it maintains a distinct blue undertone, it feels less harsh than standard black while providing excellent contrast for white or cream text elements.
Does #0d152e work for dark mode interfaces?
Yes, this shade is ideal for dark mode because it is desaturated and moody without losing its character. It reduces eye strain during long-term use and creates an authoritative, stable environment for complex corporate applications or security-focused dashboards.
Is #0d152e readable on white or black?
#0d152e has a 18.04:1 contrast ratio on white and 1.16: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.