#0D1221 Hex Color

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

Hex color #0d1221 graphic
#0d1221 is an extremely dark, desaturated navy that leans into near-black territory. Because of its intense depth, it serves as a powerful foundation for high-contrast dark mode UI designs. White text stands out sharply against this background, offering excellent readability. Avoid using this hex code for fine details, as it easily loses definition and appears as a flat, muddy black on smaller screens.

Questions about #0d1221

What is #0d1221 in RGB, HSL and CMYK?
In RGB, #0d1221 is rgb(13, 18, 33), in HSL hsl(225, 43%, 9%) and in CMYK 61%, 45%, 0%, 87%.
Is #0d1221 suitable for text in UI design?
#0d1221 serves best as a background color rather than a text color because its extreme depth makes small, thin font details appear muddy or illegible on standard screens. Use it as a deep, sophisticated backdrop to help lighter foreground elements pop.
How can I effectively use #0d1221 in my color palette?
Use #0d1221 as a grounding base color to provide stability against brighter, more vibrant accents. It pairs exceptionally well with muted slate or cool grey tones to maintain a professional, tech-forward aesthetic without the harshness of pure black.
Is #0d1221 readable on white or black?
#0d1221 has a 18.65: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.