#404040

Dark Gray

HEX

RGB

HSL

About #404040 Dark Gray

#404040 is a dark gray color. In the RGB color model, it is composed of 64 red, 64 green, and 64 blue. In the HSL color space, it has a hue of 0°, saturation of 0%, and lightness of 25%.

This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.

CSS Code

Use #404040 in your CSS, SCSS, or Tailwind projects.

Color Properties

0°

Hue

0%

Saturation

25%

Lightness

Dark Gray

Color Harmonies

Colors that work well with #404040 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #404040 against white and black backgrounds.

Aa#404040 on White
Contrast Ratio10.37:1
AA AA Large AAA
Aa#404040 on Black
Contrast Ratio2.03:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #404040 across different color formats.

FormatValue
HEX#404040
RGBrgb(64, 64, 64)
HSLhsl(0, 0%, 25%)
RGB Decimal64, 64, 64
RGB Percent25.1%, 25.1%, 25.1%
CMYK (approx.)0%, 0%, 0%, 75%

Related Palettes

12 palettes using #404040 or similar colors

#2B2B2B#423F3E#706C61#C8B6A6
#222831#393E46#00ADB5#EEEEEE
#141F1E#2C4442#3E706C#40AAA3
#2C3639#3F4E4F#A27B5C#DCD7C9
#1F1320#432C44#79307E#9A4B9F
#202013#44442C#696945#A0A04A
#12211E#2B4540#317C6E#41A996
#1D1221#3E2B45#61406E#8C46A5
#24220F#45432B#767237#959056
#FF8B13#FF5B00#D63484#402B3A
#22111C#452B3C#7E2F64#92597F
#55E6C1#58B19F#2C3A47#182C61