#0C0840 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This near-black indigo is exceptionally dark and saturated, making it a sophisticated alternative to pure black for backgrounds. The hex code for this color is #0c0840. Because it offers immense contrast, white text stands out with excellent readability. It performs best as a dominant base color in moody interfaces or high-end branding where stability and authority are required.
Questions about #0c0840
What is #0c0840 in RGB, HSL and CMYK?
In RGB, #0c0840 is rgb(12, 8, 64), in HSL hsl(244, 78%, 14%) and in CMYK 81%, 88%, 0%, 75%. Browse more shades of black with names and hex codes.
How should I use #0c0840 in interface design?
This near-black indigo functions as a more nuanced alternative to pure black for backgrounds, providing exceptional contrast for white or light-colored text. It creates a premium, authoritative aesthetic that works particularly well for dark-themed, minimalist, or high-end digital branding projects.
What colors pair well with #0c0840?
Because of its dark, neutral-leaning indigo base, this shade pairs beautifully with crisp white for readability or metallic accents like gold for a luxurious look. You can also ground the color by incorporating soft cool gray tones or lighter icy blue hues to maintain a cohesive, sophisticated palette.
Is #0c0840 readable on white or black?
#0c0840 has a 18.67: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.