#424242

#424242 — Color Codes & Palette

#424242  ·  rgb(66, 66, 66)  ·  hsl(0, 0%, 26%)

Color Codes

Format Value
HEX #424242
RGB rgb(66, 66, 66)
HSL hsl(0, 0%, 26%)

Shades of #424242

#3D3D3D#383838#333333#2E2E2E#292929#242424#1F1F1F#1A1A1A

Tints of #424242

#575757#6B6B6B#808080#949494#A8A8A8#BDBDBD#D1D1D1#E6E6E6

Color Pairings & Harmony

Complementary
#424242
Analogous +30°
#424242
Analogous −30°
#424242
Triadic +120°
#424242
Triadic −120°
#424242

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
10.05:1 — AAA pass for normal text
vs. Black (#000000)
2.09:1 — Fail

CSS Snippet

.element {
  color: #424242;
}

.element-bg {
  background-color: #424242;
  color: #ffffff;
}

.element-border {
  border: 2px solid #424242;
}

About #424242

#424242 is a dark color with very low saturation (nearly achromatic), defined by the hex code #424242. Its exact color model values are rgb(66, 66, 66) in RGB and hsl(0, 0%, 26%) in HSL (hue 0°, saturation 0%, lightness 26%). On a white background the contrast ratio is 10.05:1 — AAA pass for normal text, and on black it is 2.09:1 — Fail. Use #424242 for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of #424242?
The RGB value of #424242 (#424242) is rgb(66, 66, 66). Red = rgb(66, 66, 66), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #424242 accessible on a white background?
The contrast ratio of #424242 on white (#FFFFFF) is 10.05:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 2.09:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #424242?
Based on color theory, #424242 (hsl(0, 0%, 26%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.