#404040 color code is #404040. Use this page to get all code formats, explore shades and tints, and find colors that work with #404040.
Relative luminance of #404040 is 0.0513. Its WCAG contrast ratio is 10.37:1 against white and 2.03:1 against black. Use the card with the higher ratio for body text.
Practical guidance for using #404040 (#404040) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.
Use #404040 (#404040) as primary text or icon color on white backgrounds — at 10.4:1 contrast it passes WCAG AAA for body copy. Avoid placing #404040 text on dark surfaces; the contrast drops below the AA threshold.
As a brand color, #404040 (#404040) reads as considered and grown-up and premium and serious. It fits naturally into professional services, corporate identity, B2B SaaS. Pair it with a single bold accent so it doesn't read as too quiet. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.
#404040 is a wardrobe-staple neutral. It pairs with everything, transitions across seasons, and is a safe choice for tailored pieces (suits, coats, trousers, dresses) where longevity matters more than seasonal trend. Layer it with one bolder accent (a vivid scarf, statement bag) to keep the look from reading as flat.
#404040 is a moody, atmospheric room color — perfect for libraries, dining rooms, bedrooms, and bars where you want the space to feel enclosed and cinematic. Pair with brass or unlacquered fixtures, warm overhead lighting (2700K bulbs), and natural-fiber rugs. Avoid using it in spaces with limited natural light unless that intimacy is the point.
Major brands whose official palette contains a color within ~30 RGB units of #404040 (#404040). Click through for the full brand color guide.