#797C87 color

#797C87 rgb(121, 124, 135)
Shades of gray

The hex color #797C87 is a gray.

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

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

The closest named color is Silver Surfer (#7E7D88), a difference of 2.2 ΔE, a small difference.

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

#797C87 color codes

HEX#797C87
RGBrgb(121, 124, 135)
RGB percentrgb(47.5%, 48.6%, 52.9%)
HSLhsl(227, 6%, 50%)
HSV / HSBhsv(227, 10%, 53%)
CMYKcmyk(10%, 8%, 0%, 47%)
CIE LABlab(52.1, 1.2, -6.35)
CIE LCHlch(52.1, 6.46, 280.74)
CIE XYZxyz(19.465, 20.229, 25.796)
Decimal7961735
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797C87, 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 #797C87RatioAAAAAAA large
Sample text5.05:1PassFailPass
Sample text4.16:1FailFailPass
#797C87 as text onRatioAAAAAAA large
Sample text4.16:1FailFailPass
Sample text5.05: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 #797C87 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Closest common color name: Space Gray.

Questions

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