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

This extremely dark, dusty blue leans heavily into black, making it a stable choice for modern dark mode interfaces. Because it offers high contrast against white text, it maintains excellent readability for long-form content. The hex code for this color is #0c161c. Use it as a solid, grounded background rather than for small, fine details where it might lose its structural definition.
Questions about #0c161c
What is #0c161c in RGB, HSL and CMYK?
In RGB, #0c161c is rgb(12, 22, 28), in HSL hsl(203, 40%, 8%) and in CMYK 57%, 21%, 0%, 89%.
Why is #0c161c effective for dark mode interfaces?
Using #0c161c offers a grounded, sophisticated alternative to pure black while maintaining enough depth to make white or light-colored text pop. It reduces screen glare and eye strain, making it a professional choice for complex data-heavy applications.
What colors pair well with #0c161c?
Pair #0c161c with crisp, bright whites for maximum legibility, or integrate muted slate or cool gray tones to build a monochromatic palette. For accent colors, soft neons or vibrant teals stand out beautifully against this dark, dusty backdrop.
Is #0c161c readable on white or black?
#0c161c has a 18.30:1 contrast ratio on white and 1.14: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.