#797A7D Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #797a7d graphic
#797a7d is a functional mid-tone grey with a dusty, matte quality that avoids starkness. It works well as a grounding neutral for UI backgrounds where you need high readability, as it offers enough contrast for black text to meet WCAG standards. This hex code provides a sophisticated alternative to pure black in typography, appearing softer and less aggressive in large layouts.

Questions about #797a7d

What is #797a7d in RGB, HSL and CMYK?
In RGB, #797a7d is rgb(121, 122, 125), in HSL hsl(225, 2%, 48%) and in CMYK 3%, 2%, 0%, 51%.
Does #797a7d work well as a text color?
Yes, #797a7d provides excellent readability against off-white or light backgrounds, offering a softer appearance than harsh black text. It meets WCAG contrast standards in most common interface configurations, making it a reliable choice for long-form reading.
What colors pair well with #797a7d?
As a neutral, #797a7d works best when paired with muted tones like sage for a natural feel or navy for a more professional, corporate look. It also provides a steady foundation for accent colors like soft coral or deep mustard.
Is #797a7d readable on white or black?
#797a7d has a 4.29:1 contrast ratio on white and 4.89:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.