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

Charcoal with a faint cool edge, #303031 sits just off black. It earns its place as a dark mode background, where pure black can feel harsh and hide shadows. White text on it reaches about 13.2:1 contrast, well past WCAG AA. Warm accents like muted amber or terracotta lift it out of its gloom. The hex code for this grey is #303031.
Questions about #303031
What is #303031 in RGB, HSL and CMYK?
In RGB, #303031 is rgb(48, 48, 49), in HSL hsl(240, 1%, 19%) and in CMYK 2%, 2%, 0%, 81%. Browse more shades of black with names and hex codes.
What colors pair well with #303031?
Warm, muted accents work best: terracotta, dusty rose, and soft ochre all lift #303031 out of its gloom. Cool blues tend to blend in instead of contrasting.
Is #303031 a good dark mode background?
Yes. #303031 keeps just enough lightness for elevation layers and shadows to stay visible, where pure black flattens them. White text still clears 13.2:1 contrast, well above WCAG AA.
Is #303031 readable on white or black?
#303031 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.