#2D4040 Hex Color

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

Hex color #2d4040 graphic
#2d4040 is a muted, dusty cyan that leans into dark, inky tones. With its low saturation and heavy weight, it works best as a sophisticated background for high-contrast UI designs or moody branding elements. White text pops easily against this shade, offering excellent readability. Use this hex code when you need a serious, grounded neutral that avoids the harshness of standard black or dark grey.

Questions about #2d4040

What is #2d4040 in RGB, HSL and CMYK?
In RGB, #2d4040 is rgb(45, 64, 64), in HSL hsl(180, 17%, 21%) and in CMYK 30%, 0%, 0%, 75%. Browse more shades of gray with names and hex codes.
What colors pair well with #2d4040?
Use #2d4040 alongside warm neutrals like cream or soft beige to balance its cool, inky undertones. For a modern, high-contrast look, pair it with crisp white text or sharp accents of mustard yellow to inject energy without overpowering the muted aesthetic.
Is #2d4040 readable on white or black?
#2d4040 has a 10.94:1 contrast ratio on white and 1.91: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.