#0D1021 Hex Color

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

Hex color #0d1021 graphic
Almost black with a faint indigo cast, #0d1021 sits deep in the shadows. Its low saturation keeps it ashy rather than vivid, which suits dark mode backgrounds and night sky palettes. Pair it with warm amber or muted gold accents for richness, since white text on this hex code reaches about 18.9:1 contrast. It reads somber, so let brighter elements do the talking.

Questions about #0d1021

What is #0d1021 in RGB, HSL and CMYK?
In RGB, #0d1021 is rgb(13, 16, 33), in HSL hsl(231, 43%, 9%) and in CMYK 61%, 52%, 0%, 87%.
What text color works best on #0d1021?
White text works best on #0d1021, with a contrast ratio of about 18.9:1 that passes WCAG AAA. Light grays and warm golds also stay readable if you keep them bright enough.
What colors pair well with #0d1021?
Warm accents like amber or muted gold bring out the indigo undertone, while dusty rose softens its gloomy feel. Avoid pairing it with plain black, since the two shades blur together.
Is #0d1021 readable on white or black?
#0d1021 has a 18.86: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.