#797D8A
Gray
HEX
RGB
HSL
About #797D8A Gray
#797D8A is a gray color. In the RGB color model, it is composed of 121 red, 125 green, and 138 blue. In the HSL color space, it has a hue of 226°, saturation of 7%, and lightness of 51%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With low saturation, it appears muted and subtle.
CSS Code & Gradients
Use #797D8A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
226°
Hue
7%
Saturation
51%
Lightness
Gray
Color Harmonies
Colors that work well with #797D8A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #797D8A against white and black backgrounds.
Aa#797D8A on White
Contrast Ratio4.11:1
AA ✗AA Large ✓AAA ✗
Aa#797D8A on Black
Contrast Ratio5.11:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #797D8A across different color formats.
| Format | Value |
|---|---|
| HEX | #797D8A |
| RGB | rgb(121, 125, 138) |
| HSL | hsl(226, 7%, 51%) |
| RGB Decimal | 121, 125, 138 |
| RGB Percent | 47.5%, 49.0%, 54.1% |
| CMYK (approx.) | 12%, 9%, 0%, 46% |
Related Palettes
12 palettes using #797D8A or similar colors