#2F313C Hex Color

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

Hex color #2f313c graphic
This dim, dusky indigo carries a heavy, serious mood. Because it sits so close to grey, #2f313c acts as a sophisticated alternative to standard charcoal in dark-mode UI designs. It offers enough contrast to make white text highly readable. Use this hex code as a base for moody, atmospheric layouts, though avoid pairing it with other dark tones to keep the design from feeling muddy.

Questions about #2f313c

What is #2f313c in RGB, HSL and CMYK?
In RGB, #2f313c is rgb(47, 49, 60), in HSL hsl(231, 12%, 21%) and in CMYK 22%, 18%, 0%, 76%. Browse more shades of black with names and hex codes.
Is #2f313c suitable for body text in dark mode?
#2f313c serves as a high-contrast background color, but it should be avoided for primary body text. Because it is so dark, text placed against it should be a very light grey or white to maintain strict readability standards.
Does #2f313c lean warm or cool in tone?
#2f313c is a decidedly cool color, carrying strong blue-indigo undertones. This coolness gives it a sharper, more clinical feel than a standard neutral charcoal, making it ideal for technology interfaces that require a calm, professional aesthetic.
Is #2f313c readable on white or black?
#2f313c has a 12.91: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.