#0A0F28 Hex Color

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

Hex color #0a0f28 graphic
The #0a0f28 hex code defines an inky indigo with a cool blue-violet undertone. Its muted, very dark appearance creates a serious, mysterious mood for night-sky themes, luxury branding, meditation interfaces, and formal design. Use it as a dominant background or dark-mode surface; white text reaches about 18.9:1 contrast for clear small copy.

Questions about #0a0f28

What is #0a0f28 in RGB, HSL and CMYK?
In RGB, #0a0f28 is rgb(10, 15, 40), in HSL hsl(230, 60%, 10%) and in CMYK 75%, 62%, 0%, 84%. Browse more shades of black with names and hex codes.
What colors pair well with #0a0f28?
#0a0f28 pairs best with burgundy, muted gold, dusty lavender, or soft gray, adding measured warmth and contrast while preserving its formal character in premium branding, editorial layouts, and digital dark interfaces. Use warm accents sparingly to keep the base dominant.
Does #0a0f28 read as warm or cool?
#0a0f28 reads distinctly cool because its near-black base carries a blue-violet cast rather than red or yellow warmth, while its very low lightness keeps that hue restrained, shadowed, and closer to inky navy. Warm neutrals can soften its severe edge.
Is #0a0f28 suitable for small body text?
#0a0f28 works well as a background for small body copy when paired with white text, which reaches about an 18.9:1 contrast ratio and exceeds the WCAG AA minimum of 4.5:1. Avoid placing it over similarly dark colors.
Is #0a0f28 readable on white or black?
#0a0f28 has a 18.88: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.