ColorXprez

#797E7D

Gray · medium neutral

About #797E7D

With the hex code #797E7D, this is a medium gray with a near-neutral character. Its RGB recipe is 47% red, 49% green and 49% blue, while a printer would mix 4% cyan, 0% magenta, 1% yellow and 51% black. It is close to neutral, so it sits comfortably next to both warm and cool colours.

If you had to name it, it is virtually identical to Gray — a ΔE of 2.4 — followed by Taupe. For maximum hue contrast, pair it with its complement #7E797A, a gray shade.

In design, a medium colour like this works best for illustrations, icons and secondary elements. Put black text on top of it — 5.09:1, a WCAG AA pass.

Colour codes

HEX
RGB
HSL
HSV / HSB
CMYK
CIELAB
Decimal
CSS
Red121
Green126
Blue125

Closest named colours

Gray
#808080 · ΔE 2.4
Taupe
#8B8589 · ΔE 6.5
Slate Gray
#708090 · ΔE 10.5

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

Text on #797E7D

WCAG contrast for white and black text on this colour.

White heading text
Body copy set on gray #797E7D.
4.12:1AA Large
Black heading text
Body copy set on gray #797E7D.
5.09:1AA

Colour-blindness preview

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

Normal vision
#797E7D
Protanopia (no red cones)
#7D7D7D
Deuteranopia (no green cones)
#7C7D7D
Tritanopia (no blue cones)
#787E7E

Shades, tints & matching colours

Tints and shades

Complementary

Analogous

Triadic

Split complementary

Tetradic

Similar colours

Frequently asked questions

›What colour is #797E7D?

With the hex code #797E7D, this is a medium gray with a near-neutral character. Its RGB recipe is 47% red, 49% green and 49% blue, while a printer would mix 4% cyan, 0% magenta, 1% yellow and 51% black. It is close to neutral, so it sits comfortably next to both warm and cool colours.

›What text colour should I use on #797E7D?

Use black text. Black on #797E7D has a contrast ratio of 5.09:1 (AA).

›What colours go with #797E7D?

Its complementary colour is #7E797A, and analogous partners are #797E7A and #797D7E.