#2D2F40 Hex Color

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

Hex color #2d2f40 graphic
This dim, ashy indigo is almost grey, creating a serious and moody atmosphere. Because #2d2f40 is so dark and muted, it functions best as a solid base for dark mode interfaces. White text offers excellent readability against this shade, hitting a 13.2:1 contrast ratio. Pair it with soft cream or muted gold accents to prevent the design from feeling too bleak or industrial.

Questions about #2d2f40

What is #2d2f40 in RGB, HSL and CMYK?
In RGB, #2d2f40 is rgb(45, 47, 64), in HSL hsl(234, 17%, 21%) and in CMYK 30%, 27%, 0%, 75%.
How can I prevent #2d2f40 from appearing too bleak in a design?
Balance the depth of #2d2f40 by introducing warmer, softer accents like cream or muted gold. These highlights cut through the heavy, ashy nature of the indigo, adding visual interest without disrupting the serious, professional atmosphere of your dark mode layout.
Is #2d2f40 a good choice for text-heavy dark mode interfaces?
Yes, #2d2f40 works effectively as a background color because it offers a 13.2:1 contrast ratio against standard white text. This ensures excellent readability for users while feeling softer and more refined than a standard, pitch-black interface background.
Is #2d2f40 readable on white or black?
#2d2f40 has a 13.18:1 contrast ratio on white and 1.59: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.