#7B798E color

#7B798E rgb(123, 121, 142)
Shades of gray

The hex color #7B798E is a grayish blue.

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

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

The closest named color is Flying Carpet (#787489), a difference of 2 ΔE, a small difference.

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

#7B798E color codes

HEX#7B798E
RGBrgb(123, 121, 142)
RGB percentrgb(48.2%, 47.5%, 55.7%)
HSLhsl(246, 9%, 52%)
HSV / HSBhsv(246, 15%, 56%)
CMYKcmyk(13%, 15%, 0%, 44%)
CIE LABlab(51.65, 5.22, -11.09)
CIE LCHlch(51.65, 12.26, 295.21)
CIE XYZxyz(19.887, 19.839, 28.367)
Decimal8092046
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Space Gray.

Questions

What color is #7B798E?
#7B798E is a grayish blue, closest to the named color Flying Carpet. It belongs to the gray family of colors.
What is the RGB value of #7B798E?
The RGB value is 123, 121, 142: 123 red, 121 green and 142 blue on a 0 to 255 scale.
What is the complementary color of #7B798E?
The complementary color is #8C8E79, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7B798E?
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.