#797E8A
Gray
HEX
RGB
HSL
About #797E8A Gray
#797E8A is a gray color. In the RGB color model, it is composed of 121 red, 126 green, and 138 blue. In the HSL color space, it has a hue of 222°, 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 #797E8A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
222°
Hue
7%
Saturation
51%
Lightness
Gray
Color Harmonies
Colors that work well with #797E8A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #797E8A against white and black backgrounds.
Aa#797E8A on White
Contrast Ratio4.07:1
AA ✗AA Large ✓AAA ✗
Aa#797E8A on Black
Contrast Ratio5.16:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #797E8A across different color formats.
| Format | Value |
|---|---|
| HEX | #797E8A |
| RGB | rgb(121, 126, 138) |
| HSL | hsl(222, 7%, 51%) |
| RGB Decimal | 121, 126, 138 |
| RGB Percent | 47.5%, 49.4%, 54.1% |
| CMYK (approx.) | 12%, 9%, 0%, 46% |
Related Palettes
12 palettes using #797E8A or similar colors