#797C8E color

#797C8E rgb(121, 124, 142)
Shades of gray

The hex color #797C8E is a grayish blue.

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

Its hue angle is 231°, with 9% saturation and 52% lightness. For print, the CMYK equivalent is 15% cyan, 13% magenta, 0% yellow and 44% black.

The closest named color is Your Shadow (#787E93), a difference of 1.7 ΔE, which is barely visible.

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

#797C8E color codes

HEX#797C8E
RGBrgb(121, 124, 142)
RGB percentrgb(47.5%, 48.6%, 55.7%)
HSLhsl(231, 9%, 52%)
HSV / HSBhsv(231, 15%, 56%)
CMYKcmyk(15%, 13%, 0%, 44%)
CIE LABlab(52.32, 2.77, -10.1)
CIE LCHlch(52.32, 10.48, 285.33)
CIE XYZxyz(19.974, 20.433, 28.478)
Decimal7961742
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Slate Gray.

Questions

What color is #797C8E?
#797C8E is a grayish blue, closest to the named color Your Shadow. It belongs to the gray family of colors.
What is the RGB value of #797C8E?
The RGB value is 121, 124, 142: 121 red, 124 green and 142 blue on a 0 to 255 scale.
What is the complementary color of #797C8E?
The complementary color is #8E8B79, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797C8E?
Black text. Black text has a contrast ratio of 5.09:1 and white text 4.13:1. WCAG asks for at least 4.5:1 for normal text.