#1F2D3D Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This dark, dusty blue leans heavily into gray, providing a grounded, serious anchor for UI design. Because it lacks saturation, #1f2d3d excels as a dark mode background or structural element where black feels too harsh. It provides excellent contrast for white text, which ensures readability for body copy. Pair this hex code with soft oranges or muted metallics to prevent the palette from feeling too chilly.
Questions about #1f2d3d
What is #1f2d3d in RGB, HSL and CMYK?
In RGB, #1f2d3d is rgb(31, 45, 61), in HSL hsl(212, 33%, 18%) and in CMYK 49%, 26%, 0%, 76%. Browse more shades of black with names and hex codes.
Why is #1f2d3d a good choice for UI backgrounds?
#1f2d3d functions as a softer, more sophisticated alternative to pure black in interface design. Because it contains subtle blue-gray undertones, it creates a less harsh viewing experience while still maintaining excellent readability when paired with white or light gray text.
What colors pair best with #1f2d3d?
This deep tone works best when balanced by warmer accents to offset its chilly, muted nature. Try pairing #1f2d3d with a soft terracotta or a muted gold to add vibrancy without disrupting the professional, understated character of your primary palette.
Is #1f2d3d readable on white or black?
#1f2d3d has a 13.99:1 contrast ratio on white and 1.50: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.