#hexpedia

Closest to Dark Slate Gray

#424242

Color conversions

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

FormatValueCopy
HEX424242
HEX with ##424242
RGBrgb(66, 66, 66)
RGBArgba(66, 66, 66, 1)
HSLhsl(0 0% 25.88%)
HSLAhsla(0, 0%, 25.88%, 1)
HSVhsv(0, 0%, 25.88%)
CMYKcmyk(0%, 0%, 0%, 74.12%)
OKLCHoklch(37.91% 0 89.88)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

10.05:1

AAA normal

Black text

2.09:1

Decorative only

Reference notes

The hex value #424242 sits in the red range with a deep appearance and muted chroma. Measured through common web color formats, the channels resolve to rgb(66 66 66) and an HSL lightness of 26%, which explains its visual density. The neutral cast matters because neighboring colors can make the same hex feel sharper, calmer, or more neutral than it appears in isolation. Because web color is device-dependent, treat the numeric conversion table as the stable reference and use the visual swatch as a quick sanity check. The linked variants and pairings give nearby colors for systematic palettes, while the CSS Forge links let the same value move directly into CSS experiments. For brand-adjacent work, compare the closest named colors before reusing it, because a familiar name can change how stakeholders describe the same swatch. Designers can use it in interfaces that need weight, contrast, or a more formal visual register. When combined with lighter or darker variants, it gives enough range for borders, fills, and active states.