#797A9F color

#797A9F rgb(121, 122, 159)
Shades of blue

The hex color #797A9F is a grayish blue.

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

Its hue angle is 238°, with 17% saturation and 55% lightness. For print, the CMYK equivalent is 24% cyan, 23% magenta, 0% yellow and 38% black.

The closest named color is Stormy Horizon (#777799), a difference of 1.5 ΔE, which is barely visible.

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

#797A9F color codes

HEX#797A9F
RGBrgb(121, 122, 159)
RGB percentrgb(47.5%, 47.8%, 62.4%)
HSLhsl(238, 17%, 55%)
HSV / HSBhsv(238, 24%, 62%)
CMYKcmyk(24%, 23%, 0%, 38%)
CIE LABlab(52.38, 8, -19.93)
CIE LCHlch(52.38, 21.47, 291.87)
CIE XYZxyz(21.101, 20.487, 35.637)
Decimal7961247
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #797A9F?
#797A9F is a grayish blue, closest to the named color Stormy Horizon. It belongs to the blue family of colors.
What is the RGB value of #797A9F?
The RGB value is 121, 122, 159: 121 red, 122 green and 159 blue on a 0 to 255 scale.
What is the complementary color of #797A9F?
The complementary color is #9F9E79, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797A9F?
Black text. Black text has a contrast ratio of 5.1:1 and white text 4.12:1. WCAG asks for at least 4.5:1 for normal text.