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

This dark, matte charcoal offers a serious, stable foundation for minimal interfaces. Because white text creates a sharp 12.7:1 contrast ratio against it, #313335 works perfectly for large typography or clean dark mode backgrounds. Avoid using it alongside other muddy neutrals, as it pairs best with vibrant accent colors to prevent a washed-out, lifeless appearance. The hex code for this neutral shade is #313335.
Questions about #313335
What is #313335 in RGB, HSL and CMYK?
In RGB, #313335 is rgb(49, 51, 53), in HSL hsl(210, 4%, 20%) and in CMYK 8%, 4%, 0%, 79%. Browse more shades of black with names and hex codes.
What colors pair best with the charcoal #313335?
#313335 works best when paired with vibrant accent colors to avoid looking flat. Try using it alongside a bright electric blue or a sharp canary yellow to add visual interest while maintaining its serious, professional foundation.
Is #313335 suitable for use as a background in UI design?
Yes, it serves as an excellent background because white text creates a 12.7:1 contrast ratio against it, ensuring high readability. This makes #313335 a reliable choice for dark mode layouts where legibility is the primary design requirement.
Is #313335 readable on white or black?
#313335 has a 12.68:1 contrast ratio on white and 1.65: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.