#2D3142 Hex Color

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

Hex color #2d3142 graphic
#2d3142 is a desaturated, inky indigo that functions as a softer alternative to pitch black. Designers use this hex code for UI backgrounds because white text maintains excellent readability against its dark surface. If you are learning what colors make black, this dusty, matte shade is a perfect example of a cool-toned dark neutral that anchors a sophisticated palette without appearing harsh.

Questions about #2d3142

What is #2d3142 in RGB, HSL and CMYK?
In RGB, #2d3142 is rgb(45, 49, 66), in HSL hsl(229, 19%, 22%) and in CMYK 32%, 26%, 0%, 74%.
Why is #2d3142 a better choice than pure black for web design?
Using #2d3142 instead of solid black creates a softer, more sophisticated interface that reduces eye strain while maintaining excellent readability. This deep, desaturated indigo provides sufficient contrast for white typography without the harsh, heavy feeling typical of standard pitch black.
What colors work best alongside #2d3142 in a design project?
This dark neutral pairs beautifully with soft, creamy off-whites or muted metallics to create a modern, high-end aesthetic. If you need a pop of color, incorporate subtle gold accents or dusty pinks to balance the coolness of this inky shade.
Is #2d3142 readable on white or black?
#2d3142 has a 12.88:1 contrast ratio on white and 1.62: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.