#000020 Hex Color
Somber and moody deep midnight blue

#000020 is a nearly black, somber shade with deep blue undertones that feel authoritative and moody. Because it is so dark, this hex code works best as a premium background for modern UI design or high-end editorial layouts. Pair it with soft cream or metallic gold for contrast, as white text remains readable against its dark surface. It adds serious weight to any visual composition.
Questions about #000020
What is #000020 in RGB, HSL and CMYK?
In RGB, #000020 is rgb(0, 0, 32), in HSL hsl(240, 100%, 6%) and in CMYK 100%, 100%, 0%, 87%.
What colors pair best with #000020?
Because #000020 is a nearly black, somber shade, it contrasts beautifully with soft creams or metallic golds. These lighter tones help lift the heavy, authoritative weight of the dark blue base, making it ideal for elegant and readable typography or UI elements.
Does #000020 work well for website backgrounds?
Yes, #000020 serves as a sophisticated alternative to pure black, offering a premium, moody aesthetic. Its subtle blue undertones make it softer on the eyes while maintaining high readability when paired with high-contrast text colors like white or light metallics.
Is #000020 readable on white or black?
#000020 has a 20.57:1 contrast ratio on white and 1.02: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.