#0D1217 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #0d1217 graphic
#0d1217 is a near-black shade with strong, sooty blue undertones. This color is exceptionally dark and somber, making it an ideal choice for moody UI backgrounds where you need high contrast for white text. Because it feels almost like a solid black, it works best as a dominant base rather than an accent. Pair it with muted gold or copper to keep the palette from feeling too cold.

Questions about #0d1217

What is #0d1217 in RGB, HSL and CMYK?
In RGB, #0d1217 is rgb(13, 18, 23), in HSL hsl(210, 28%, 7%) and in CMYK 43%, 22%, 0%, 91%.
How should I use #0d1217 in a UI design?
#0d1217 serves as an excellent base for dark mode interfaces because its subtle blue undertones feel less harsh than pure black. It provides strong readability for white or light gray typography while maintaining a soft, professional atmosphere for modern web applications.
What colors pair well with #0d1217?
This deep tone works best when contrasted against warm, metallic accents like muted gold or copper to balance its inherent coolness. For a cleaner, minimalist look, you can also pair it with soft off-whites or cool silver to emphasize the blue undertones.
Is #0d1217 readable on white or black?
#0d1217 has a 18.81:1 contrast ratio on white and 1.11: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.