#051B1F Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dusty, near-black cyan brings a sense of mystery and serious depth to moody digital interfaces. Because it is so dark, use #051b1f as a background anchor rather than an accent color. It creates excellent contrast for white typography, making it a reliable choice for dark mode UI. Pair this hex code with soft corals or pale gold to cut through its gloom.
Questions about #051b1f
What is #051b1f in RGB, HSL and CMYK?
In RGB, #051b1f is rgb(5, 27, 31), in HSL hsl(189, 72%, 7%) and in CMYK 84%, 13%, 0%, 88%. Browse more shades of black with names and hex codes.
What colors pair well with #051b1f for UI design?
High-contrast accents like soft coral or pale gold work best to cut through the heavy, dark nature of #051b1f. These warm tones prevent the interface from feeling too gloomy while maintaining readability against the deep cyan backdrop.
Is #051b1f suitable for large areas of text?
While #051b1f is excellent as a background, avoid using it for large blocks of body text. It is far too dark to provide sufficient contrast against a standard off-white or light grey background without causing significant eye strain.
Is #051b1f readable on white or black?
#051b1f has a 17.75:1 contrast ratio on white and 1.18: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.