#797888 color

#797888 rgb(121, 120, 136)
Shades of gray

The hex color #797888 is a gray.

In the RGB color model it is made of 47.5% red, 47.1% green and 53.3% blue (121, 120, 136).

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

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

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

#797888 color codes

HEX#797888
RGBrgb(121, 120, 136)
RGB percentrgb(47.5%, 47.1%, 53.3%)
HSLhsl(244, 6%, 50%)
HSV / HSBhsv(244, 12%, 53%)
CMYKcmyk(11%, 12%, 0%, 47%)
CIE LABlab(51.01, 3.76, -8.56)
CIE LCHlch(51.01, 9.34, 293.7)
CIE XYZxyz(19.045, 19.275, 26.005)
Decimal7960712
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797888, 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 #797888RatioAAAAAAA large
Sample text4.86:1PassFailPass
Sample text4.33:1FailFailPass
#797888 as text onRatioAAAAAAA large
Sample text4.33:1FailFailPass
Sample text4.86: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 #797888 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #797888; }
.text { color: #797888; }
.border { border: 2px solid #797888; }
.transparent { background-color: rgb(121 120 136 / 50%); }
.gradient { background: linear-gradient(to right, #797888, #817888); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

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