#797E90 color
The hex color #797E90 is a grayish blue.
In the RGB color model it is made of 47.5% red, 49.4% green and 56.5% blue (121, 126, 144).
Its hue angle is 227°, with 9% saturation and 52% lightness. For print, the CMYK equivalent is 16% cyan, 12% magenta, 0% yellow and 44% black.
The closest named color is Your Shadow (#787E93), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.2:1).
#797E90 color codes
| HEX | #797E90 | |
|---|---|---|
| RGB | rgb(121, 126, 144) | |
| RGB percent | rgb(47.5%, 49.4%, 56.5%) | |
| HSL | hsl(227, 9%, 52%) | |
| HSV / HSB | hsv(227, 16%, 56%) | |
| CMYK | cmyk(16%, 12%, 0%, 44%) | |
| CIE LAB | lab(52.95, 2.07, -10.33) | |
| CIE LCH | lch(52.95, 10.54, 281.31) | |
| CIE XYZ | xyz(20.379, 21, 29.36) | |
| Decimal | 7962256 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797E90, 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 #797E90 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.2:1 | Pass | Fail | Pass |
| Sample text | 4.04:1 | Fail | Fail | Pass |
| #797E90 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.04:1 | Fail | Fail | Pass |
| Sample text | 5.2: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 #797E90 looks to people with the most common types of color vision deficiency.
#797f91Protanopia
no red cones#787e90Deuteranopia
no green cones#748184Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #797e90; }
.text { color: #797e90; }
.border { border: 2px solid #797e90; }
.transparent { background-color: rgb(121 126 144 / 50%); }
.gradient { background: linear-gradient(to right, #797e90, #7f7990); }
Similar colors
#787e93Your Shadow#747a8aAbandoned Spaceship#79839bTempest#848393Mecha Metal#74819aStonewash#7e7d88Silver Surfer#84838eIn the Twilight#7e8590Smoky Studio
Closest common color name: Slate Gray.
Questions
- What color is #797E90?
- #797E90 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 #797E90?
- The RGB value is 121, 126, 144: 121 red, 126 green and 144 blue on a 0 to 255 scale.
- What is the complementary color of #797E90?
- The complementary color is #908B79, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797E90?
- Black text. Black text has a contrast ratio of 5.2:1 and white text 4.04:1. WCAG asks for at least 4.5:1 for normal text.