#2A2F37 Hex Color

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

Hex color #2a2f37 graphic
This dusty, near-black blue carries a serious weight that makes it a sophisticated choice for UI backgrounds. Because it is highly desaturated and dark, it pairs best with bright white text to maintain readability. The hex code for this color is #2a2f37. It works well in corporate or tech-focused branding, providing a stable, grounded alternative to pure black.

Questions about #2a2f37

What is #2a2f37 in RGB, HSL and CMYK?
In RGB, #2a2f37 is rgb(42, 47, 55), in HSL hsl(217, 13%, 19%) and in CMYK 24%, 15%, 0%, 78%. Browse more shades of black with names and hex codes.
Where does #2a2f37 work best in UI design?
#2a2f37 serves as an excellent, high-readability background color for modern interfaces that need a serious, corporate tone without the harshness of pure black. Pair it with crisp white or off-white typography to maintain strong contrast and visual hierarchy.
Is #2a2f37 warm or cool in appearance?
While #2a2f37 sits in the blue spectrum, it is heavily desaturated and dusty, giving it a neutral, grounded temperature that leans slightly cool. This makes it versatile enough to pair with charcoal or deep slate tones without clashing.
Is #2a2f37 readable on white or black?
#2a2f37 has a 13.45:1 contrast ratio on white and 1.56: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.