#797A87 color

#797A87 rgb(121, 122, 135)
Shades of gray

The hex color #797A87 is a gray.

In the RGB color model it is made of 47.5% red, 47.8% green and 52.9% blue (121, 122, 135).

Its hue angle is 236°, with 6% saturation and 50% lightness. For print, the CMYK equivalent is 10% cyan, 10% magenta, 0% yellow and 47% black.

The closest named color is Silver Surfer (#7E7D88), a difference of 1.8 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 4.95:1).

#797A87 color codes

HEX#797A87
RGBrgb(121, 122, 135)
RGB percentrgb(47.5%, 47.8%, 52.9%)
HSLhsl(236, 6%, 50%)
HSV / HSBhsv(236, 10%, 53%)
CMYKcmyk(10%, 10%, 0%, 47%)
CIE LABlab(51.53, 2.37, -7.18)
CIE LCHlch(51.53, 7.56, 288.23)
CIE XYZxyz(19.217, 19.733, 25.713)
Decimal7961223
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797A87, 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 #797A87RatioAAAAAAA large
Sample text4.95:1PassFailPass
Sample text4.25:1FailFailPass
#797A87 as text onRatioAAAAAAA large
Sample text4.25:1FailFailPass
Sample text4.95:1PassFailPass

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 #797A87 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #797a87; }
.text { color: #797a87; }
.border { border: 2px solid #797a87; }
.transparent { background-color: rgb(121 122 135 / 50%); }
.gradient { background: linear-gradient(to right, #797a87, #7f7987); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

What color is #797A87?
#797A87 is a gray, closest to the named color Silver Surfer. It belongs to the gray family of colors.
What is the RGB value of #797A87?
The RGB value is 121, 122, 135: 121 red, 122 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #797A87?
The complementary color is #878679, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797A87?
Black text. Black text has a contrast ratio of 4.95:1 and white text 4.25:1. WCAG asks for at least 4.5:1 for normal text.