#2A3A42 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

A dusty, muted slate with heavy grey undertones, #2a3a42 functions best as a stabilizing background rather than an accent. This dark, inky shade reads serious and professional, making it a reliable choice for corporate tech or financial interfaces. Because it offers strong contrast against white text, it works well for UI elements where legibility remains the priority. The hex code for this color is #2a3a42.
Questions about #2a3a42
What is #2a3a42 in RGB, HSL and CMYK?
In RGB, #2a3a42 is rgb(42, 58, 66), in HSL hsl(200, 22%, 21%) and in CMYK 36%, 12%, 0%, 74%. Browse more shades of black with names and hex codes.
Is #2a3a42 considered a warm or cool color?
#2a3a42 is a distinctly cool shade because of its heavy blue and grey undertones. It avoids the harshness of true black while maintaining a serious, grounded presence that feels much more sophisticated than a standard neutral grey.
What colors pair best with #2a3a42 for UI design?
This deep slate pairs beautifully with crisp white text for high-contrast accessibility in professional interfaces. For a more sophisticated palette, try accenting it with a soft gold or a muted terracotta to create visual warmth against the cool background.
Is #2a3a42 readable on white or black?
#2a3a42 has a 11.78:1 contrast ratio on white and 1.78: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.