#hexpedia

Closest to Dark Slate Gray

#404041

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX404041
HEX with ##404041
RGBrgb(64, 64, 65)
RGBArgba(64, 64, 65, 1)
HSLhsl(240 0.78% 25.29%)
HSLAhsla(240, 0.78%, 25.29%, 1)
HSVhsv(240, 1.54%, 25.49%)
CMYKcmyk(1.54%, 1.54%, 0%, 74.51%)
OKLCHoklch(37.19% 0.0017 286.32)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

10.36:1

AAA normal

Black text

2.03:1

Decorative only

Reference notes

#404041 is a deep, muted blue color closest to Dark Slate Gray. The color has RGB channels of 64, 64, and 65; in HSL terms, it is centered near 240 degrees with 1% saturation and 25% lightness. In a design system, this neutral reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for interfaces that need weight, contrast, or a more formal visual register. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.