#797E91 color
The hex color #797E91 is a grayish blue.
In the RGB color model it is made of 47.5% red, 49.4% green and 56.9% blue (121, 126, 145).
Its hue angle is 227°, with 10% saturation and 52% lightness. For print, the CMYK equivalent is 17% cyan, 13% magenta, 0% yellow and 43% black.
The closest named color is Your Shadow (#787E93), a difference of 0.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.21:1).
#797E91 color codes
| HEX | #797E91 | |
|---|---|---|
| RGB | rgb(121, 126, 145) | |
| RGB percent | rgb(47.5%, 49.4%, 56.9%) | |
| HSL | hsl(227, 10%, 52%) | |
| HSV / HSB | hsv(227, 17%, 57%) | |
| CMYK | cmyk(17%, 13%, 0%, 43%) | |
| CIE LAB | lab(52.98, 2.3, -10.86) | |
| CIE LCH | lch(52.98, 11.1, 281.93) | |
| CIE XYZ | xyz(20.456, 21.031, 29.764) | |
| Decimal | 7962257 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797E91, 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 #797E91 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.21:1 | Pass | Fail | Pass |
| Sample text | 4.03:1 | Fail | Fail | Pass |
| #797E91 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 #797E91 looks to people with the most common types of color vision deficiency.
#797f92Protanopia
no red cones#777e91Deuteranopia
no green cones#748184Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #797e91; }
.text { color: #797e91; }
.border { border: 2px solid #797e91; }
.transparent { background-color: rgb(121 126 145 / 50%); }
.gradient { background: linear-gradient(to right, #797e91, #807991); }
Similar colors
#787e93Your Shadow#747a8aAbandoned Spaceship#79839bTempest#74819aStonewash#848393Mecha Metal#7e7d88Silver Surfer#84838eIn the Twilight#6e7e99Infinity and Beyond
Closest common color name: Slate Gray.
Questions
- What color is #797E91?
- #797E91 is a grayish blue, closest to the named color Your Shadow. It belongs to the gray family of colors.
- What is the RGB value of #797E91?
- The RGB value is 121, 126, 145: 121 red, 126 green and 145 blue on a 0 to 255 scale.
- What is the complementary color of #797E91?
- The complementary color is #918C79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797E91?
- 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.