#2A3342 Hex Color

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

Hex color #2a3342 graphic
This dusty, inky blue provides a serious and stable foundation for dark-mode interfaces. Because it is highly desaturated, #2a3342 reads as a sophisticated alternative to pure black or charcoal. It pairs well with crisp white text for readable UI backgrounds. If you want to adjust the intensity, understanding what colors make black helps you blend this hex code into custom palettes.

Questions about #2a3342

What is #2a3342 in RGB, HSL and CMYK?
In RGB, #2a3342 is rgb(42, 51, 66), in HSL hsl(218, 22%, 21%) and in CMYK 36%, 23%, 0%, 74%.
Is #2a3342 a good alternative to pure black?
#2a3342 acts as an excellent choice for interfaces because it provides a softer, less jarring contrast than pure black, reducing eye strain while maintaining legibility. It works particularly well when paired with off-white or light gray text for a professional, understated look.
Which color palettes complement #2a3342?
This inky blue creates a refined look when paired with soft cream or beige tones to add warmth, or crisp whites for high-contrast accessibility. It also anchors monochromatic palettes effectively when combined with lighter shades of slate or steel blue.
Is #2a3342 readable on white or black?
#2a3342 has a 12.72:1 contrast ratio on white and 1.65: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.