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

#0b0b18 is an intensely dark, inky shade that sits right on the edge of black. Because it is so muted and desaturated, it functions perfectly as a modern, sophisticated background for UI design. Use it with pure white text to achieve maximum readability. Pair this hex code with soft grays or copper accents to add warmth without losing that somber, night sky aesthetic.
Questions about #0b0b18
What is #0b0b18 in RGB, HSL and CMYK?
In RGB, #0b0b18 is rgb(11, 11, 24), in HSL hsl(240, 37%, 7%) and in CMYK 54%, 54%, 0%, 91%. Browse more shades of black with names and hex codes.
How should I use #0b0b18 in UI design?
#0b0b18 functions best as a soft, modern alternative to pure black for website backgrounds and dark mode interfaces. Because it is slightly less harsh than true black, it reduces eye strain while maintaining excellent readability when paired with white or light gray text.
What accent colors pair well with #0b0b18?
This deep, neutral shade serves as a versatile anchor for high-contrast accents like copper or soft gold to create a premium feel. For a more subtle, professional look, combine it with cool, muted charcoal or soft silver tones to maintain the somber aesthetic.
Is #0b0b18 readable on white or black?
#0b0b18 has a 19.52:1 contrast ratio on white and 1.07: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.