#40403C Hex Color

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

Hex color #40403c graphic
Dark and muted, #40403c is a neutral gray with a faint olive undertone. Its low saturation gives interfaces and branding a serious, restrained mood without strong color bias. Use this hex code as a dark-mode background or supporting tone with warm white and muted brass. White text reaches about 10.4:1 contrast, making it suitable behind small body text.

Questions about #40403c

What is #40403c in RGB, HSL and CMYK?
In RGB, #40403c is rgb(64, 64, 60), in HSL hsl(60, 3%, 24%) and in CMYK 0%, 0%, 6%, 75%. Browse more shades of gray with names and hex codes.
What mood does #40403c create, and where can it be used?
#40403c reads as a dark neutral gray with a faint olive undertone, creating a serious, restrained mood that works well for dark-mode backgrounds, navigation panels, supporting surfaces, and understated brand systems with low visual noise. Its low saturation keeps it from feeling strongly green or overly warm.
What colors pair well with #40403c?
#40403c pairs well with warm white, muted brass, and olive accents, reinforcing its faint olive undertone without adding much saturation in interfaces, branding, and editorial palettes while preserving its serious, understated mood. Pale neutrals provide the cleanest contrast, while muted accents keep the palette cohesive.
Is #40403c readable on white or black?
#40403c has a 10.41:1 contrast ratio on white and 2.01: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.