#0A0427 Hex Color

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

Hex color #0a0427 graphic
#0a0427 is an intensely dark, sooty indigo that sits right on the edge of black. Because of its extreme depth, it serves best as a moody, immersive background for dark mode interfaces. White text remains highly readable against this shade, ensuring excellent accessibility. Use the hex code #0a0427 to add serious, grounded weight to formal or nocturnal brand palettes.

Questions about #0a0427

What is #0a0427 in RGB, HSL and CMYK?
In RGB, #0a0427 is rgb(10, 4, 39), in HSL hsl(250, 81%, 8%) and in CMYK 74%, 90%, 0%, 85%.
Does #0a0427 work better than pure black for dark mode designs?
#0a0427 provides a softer, more sophisticated alternative to pure black that reduces eye strain while maintaining depth. The subtle blue-violet undertone adds a layer of richness to interfaces, making it easier to layer elements and highlight light gray text.
What accent colors pair well with the deep tone of #0a0427?
High-luminosity colors like electric blue or soft gold create a striking, premium contrast against the darkness of #0a0427. Because the base is so saturated, it grounds bright, punchy colors, preventing them from feeling overwhelming or chaotic.
Is #0a0427 readable on white or black?
#0a0427 has a 19.81:1 contrast ratio on white and 1.05: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.