#797B82 color

#797B82 rgb(121, 123, 130)
Shades of gray

The hex color #797B82 is a gray.

In the RGB color model it is made of 47.5% red, 48.2% green and 51% blue (121, 123, 130).

Its hue angle is 227°, with 4% saturation and 49% lightness. For print, the CMYK equivalent is 7% cyan, 5% magenta, 0% yellow and 49% black.

The closest named color is Nocturnal (#767D86), a difference of 2.5 ΔE, a small difference.

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

#797B82 color codes

HEX#797B82
RGBrgb(121, 123, 130)
RGB percentrgb(47.5%, 48.2%, 51%)
HSLhsl(227, 4%, 49%)
HSV / HSBhsv(227, 7%, 51%)
CMYKcmyk(7%, 5%, 0%, 49%)
CIE LABlab(51.66, 0.7, -4.07)
CIE LCHlch(51.66, 4.13, 279.82)
CIE XYZxyz(18.997, 19.842, 23.944)
Decimal7961474
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

What color is #797B82?
#797B82 is a gray, closest to the named color Nocturnal. It belongs to the gray family of colors.
What is the RGB value of #797B82?
The RGB value is 121, 123, 130: 121 red, 123 green and 130 blue on a 0 to 255 scale.
What is the complementary color of #797B82?
The complementary color is #828079, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797B82?
Black text. Black text has a contrast ratio of 4.97:1 and white text 4.23:1. WCAG asks for at least 4.5:1 for normal text.