#313131 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

#313131 is a near-black charcoal that offers a softer, more approachable alternative to pure black. Because of its high contrast ratio, white typography remains crisp and legible against this backdrop. It excels as a dominant base for dark mode interfaces or moody, minimal branding. The hex code for this neutral, stable shade is #313131.
Questions about #313131
What is #313131 in RGB, HSL and CMYK?
In RGB, #313131 is rgb(49, 49, 49), in HSL hsl(0, 0%, 19%) and in CMYK 0%, 0%, 0%, 81%.
Is #313131 better for interface design than pure black?
Yes, using #313131 reduces eye strain significantly compared to pure black by softening the contrast against white text. It provides a more natural, depth-filled appearance that looks less harsh on screens while maintaining a clean, professional aesthetic for dark mode layouts.
Which color palettes work best with #313131?
Because #313131 is a neutral charcoal, it serves as an excellent anchor for high-saturation accent colors like electric blue or vibrant orange. It also pairs effortlessly with soft off-whites and cool grays to build a balanced, minimalist visual hierarchy.
Is #313131 readable on white or black?
#313131 has a 13.00:1 contrast ratio on white and 1.61: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.