#797C96 color
The hex color #797C96 is a grayish blue.
In the RGB color model it is made of 47.5% red, 48.6% green and 58.8% blue (121, 124, 150).
Its hue angle is 234°, with 12% saturation and 53% lightness. For print, the CMYK equivalent is 19% cyan, 17% magenta, 0% yellow and 41% black.
The closest named color is Your Shadow (#787E93), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.14:1).
#797C96 color codes
| HEX | #797C96 | |
|---|---|---|
| RGB | rgb(121, 124, 150) | |
| RGB percent | rgb(47.5%, 48.6%, 58.8%) | |
| HSL | hsl(234, 12%, 53%) | |
| HSV / HSB | hsv(234, 19%, 59%) | |
| CMYK | cmyk(19%, 17%, 0%, 41%) | |
| CIE LAB | lab(52.6, 4.63, -14.36) | |
| CIE LCH | lch(52.6, 15.09, 287.89) | |
| CIE XYZ | xyz(20.597, 20.682, 31.755) | |
| Decimal | 7961750 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #797C96, 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 #797C96 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.14:1 | Pass | Fail | Pass |
| Sample text | 4.09:1 | Fail | Fail | Pass |
| #797C96 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.09:1 | Fail | Fail | Pass |
| Sample text | 5.14: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 #797C96 looks to people with the most common types of color vision deficiency.
#757f97Protanopia
no red cones#747d95Deuteranopia
no green cones#738085Tritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #797c96; }
.text { color: #797c96; }
.border { border: 2px solid #797c96; }
.transparent { background-color: rgb(121 124 150 / 50%); }
.gradient { background: linear-gradient(to right, #797c96, #847996); }
Similar colors
#787e93Your Shadow#777799Stormy Horizon#79839bTempest#787489Flying Carpet#74819aStonewash#848393Mecha Metal#747a8aAbandoned Spaceship#7181a4English Manor
Closest common color name: Cool Gray.
Questions
- What color is #797C96?
- #797C96 is a grayish blue, closest to the named color Your Shadow. It belongs to the blue family of colors.
- What is the RGB value of #797C96?
- The RGB value is 121, 124, 150: 121 red, 124 green and 150 blue on a 0 to 255 scale.
- What is the complementary color of #797C96?
- The complementary color is #969379, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #797C96?
- Black text. Black text has a contrast ratio of 5.14:1 and white text 4.09:1. WCAG asks for at least 4.5:1 for normal text.