#040C0C Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This ashy, near-black tone carries a somber intensity perfect for premium branding and moody editorial layouts. Because #040c0c is extremely dark, it functions best as a dominant background or container that grounds lighter elements. White text creates excellent readability against this shade, maintaining high contrast for UI design. Use it sparingly to avoid a muddy appearance, as its heavy saturation demands precision in any composition.
Questions about #040c0c
What is #040c0c in RGB, HSL and CMYK?
In RGB, #040c0c is rgb(4, 12, 12), in HSL hsl(180, 50%, 3%) and in CMYK 67%, 0%, 0%, 95%. Browse more shades of black with names and hex codes.
Where should I use #040c0c in my design?
#040c0c works best as a primary background or heavy container element to ground lighter, more vibrant text or UI components. It creates a sophisticated, somber atmosphere that prevents the flat, artificial appearance of pure black while maintaining clean readability.
What colors pair well with #040c0c?
This deep tone pairs best with bright, high-value accents to create necessary visual separation and prevent a muddy look. Consider pairing it with cream or soft white for text, or use vibrant electric blue for distinct, modern call-to-action buttons.
Is #040c0c readable on white or black?
#040c0c has a 19.75:1 contrast ratio on white and 1.06: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.