#797F89 color
The hex color #797F89 is a gray.
In the RGB color model it is made of 47.5% red, 49.8% green and 53.7% blue (121, 127, 137).
Its hue angle is 217°, with 6% saturation and 51% lightness. For print, the CMYK equivalent is 12% cyan, 7% magenta, 0% yellow and 46% black.
The closest named color is Nocturnal (#767D86), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.21:1).
#797F89 color codes
| HEX | #797F89 | |
|---|---|---|
| RGB | rgb(121, 127, 137) | |
| RGB percent | rgb(47.5%, 49.8%, 53.7%) | |
| HSL | hsl(217, 6%, 51%) | |
| HSV / HSB | hsv(217, 12%, 54%) | |
| CMYK | cmyk(12%, 7%, 0%, 46%) | |
| CIE LAB | lab(53, -0.09, -6.17) | |
| CIE LCH | lch(53, 6.17, 269.17) | |
| CIE XYZ | xyz(19.989, 21.05, 26.672) | |
| Decimal | 7962505 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797F89, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #797F89 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.21:1 | Pass | Fail | Pass |
| Sample text | 4.03:1 | Fail | Fail | Pass |
| #797F89 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.03:1 | Fail | Fail | Pass |
| Sample text | 5.21:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #797F89 looks to people with the most common types of color vision deficiency.
#7c7f8aProtanopia
no red cones#7a7e89Deuteranopia
no green cones#758182Tritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #797f89; }
.text { color: #797f89; }
.border { border: 2px solid #797f89; }
.transparent { background-color: rgb(121 127 137 / 50%); }
.gradient { background: linear-gradient(to right, #797f89, #7b7989); }
Similar colors
#767d86Nocturnal#7e8590Smoky Studio#7d848bSerious Cloud#7f8793Sea Lion#747a8aAbandoned Spaceship#828287Lunar Outpost#7e7d88Silver Surfer#838996Roman Silver
Closest common color name: Slate Gray.
Questions
- What color is #797F89?
- #797F89 is a gray, closest to the named color Nocturnal. It belongs to the gray family of colors.
- What is the RGB value of #797F89?
- The RGB value is 121, 127, 137: 121 red, 127 green and 137 blue on a 0 to 255 scale.
- What is the complementary color of #797F89?
- The complementary color is #898379, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797F89?
- Black text. Black text has a contrast ratio of 5.21:1 and white text 4.03:1. WCAG asks for at least 4.5:1 for normal text.