ColorXprez

#42404D

Charcoal · dark cool gray

About #42404D

With the hex code #42404D, this is a dark gray with a muted character. Its RGB recipe is 26% red, 25% green and 30% blue, while a printer would mix 14% cyan, 17% magenta, 0% yellow and 70% black. It reads as a cool colour.

If you had to name it, it is very close to Charcoal — a ΔE of 7.2 — followed by Graphite. For maximum hue contrast, pair it with its complement #4B4D40, a umber shade.

In design, a dark colour like this works best for headings, body text, footers and dark-mode backgrounds. Put white text on top of it — 10.13:1, a WCAG AAA pass. Used as a text colour on white, it is readable too (10.13:1).

Colour codes

HEX
RGB
HSL
HSV / HSB
CMYK
CIELAB
Decimal
CSS
Red66
Green64
Blue77

Closest named colours

Charcoal
#36454F · ΔE 7.2
Graphite
#383838 · ΔE 9.5
Gunmetal
#2A3439 · ΔE 10.0

ΔE measures visible difference: under 2 is barely noticeable, over 10 is clearly different.

Text on #42404D

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on charcoal #42404D.
10.13:1AAA
Black heading text
Body copy set on charcoal #42404D.
2.07:1Fail

Colour-blindness preview

How #42404D appears to people with the three most common types of colour-vision deficiency.

Normal vision
#42404D
Protanopia (no red cones)
#3D424E
Deuteranopia (no green cones)
#3D414D
Tritanopia (no blue cones)
#404244

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #42404D?

With the hex code #42404D, this is a dark gray with a muted character. Its RGB recipe is 26% red, 25% green and 30% blue, while a printer would mix 14% cyan, 17% magenta, 0% yellow and 70% black. It reads as a cool colour.

›What text colour should I use on #42404D?

Use white text. White on #42404D has a contrast ratio of 10.13:1 (AAA).

›What colours go with #42404D?

Its complementary colour is #4B4D40, and analogous partners are #40444D and #49404D.