#1F2834 Hex Color

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

Hex color #1f2834 graphic
This dark, desaturated slate blue sits at the intersection of navy and grey. Because #1f2834 is so muted, it functions as a more sophisticated alternative to black for UI backgrounds or large-scale typography. It pairs cleanly with sharp whites or unexpected bright ochres for a modern, industrial look. The hex code for this moody, serious tone is #1f2834.

Questions about #1f2834

What is #1f2834 in RGB, HSL and CMYK?
In RGB, #1f2834 is rgb(31, 40, 52), in HSL hsl(214, 25%, 16%) and in CMYK 40%, 23%, 0%, 80%.
How should I use #1f2834 in digital interface design?
#1f2834 serves as a high-readability background or text color that feels softer and more grounded than stark black. Because of its blue undertone, it maintains a technical, professional appearance that pairs exceptionally well with sharp, clean white typography.
What colors pair well with #1f2834?
This color acts as a neutral anchor, making it ideal for pairing with high-contrast warm accents. Try incorporating ochre or muted terracotta to add a pop of energy against its moody, serious nature without overwhelming the composition.
Is #1f2834 readable on white or black?
#1f2834 has a 14.87:1 contrast ratio on white and 1.41: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.