#787A8E color

#787A8E rgb(120, 122, 142)
Shades of gray

The hex color #787A8E is a grayish blue.

In the RGB color model it is made of 47.1% red, 47.8% green and 55.7% blue (120, 122, 142).

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

The closest named color is Your Shadow (#787E93), a difference of 2.2 ΔE, a small difference.

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

#787A8E color codes

HEX#787A8E
RGBrgb(120, 122, 142)
RGB percentrgb(47.1%, 47.8%, 55.7%)
HSLhsl(235, 9%, 51%)
HSV / HSBhsv(235, 15%, 56%)
CMYKcmyk(15%, 14%, 0%, 44%)
CIE LABlab(51.68, 3.59, -11.07)
CIE LCHlch(51.68, 11.64, 287.97)
CIE XYZxyz(19.587, 19.865, 28.388)
Decimal7895694
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #787a8e; }
.text { color: #787a8e; }
.border { border: 2px solid #787a8e; }
.transparent { background-color: rgb(120 122 142 / 50%); }
.gradient { background: linear-gradient(to right, #787a8e, #81788e); }
Background
Text color
Border

Similar colors

Closest common color name: Slate Gray.

Questions

What color is #787A8E?
#787A8E 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 #787A8E?
The RGB value is 120, 122, 142: 120 red, 122 green and 142 blue on a 0 to 255 scale.
What is the complementary color of #787A8E?
The complementary color is #8E8C78, found by rotating the hue 180° on the color wheel.
Is black or white text better on #787A8E?
Black text. Black text has a contrast ratio of 4.97:1 and white text 4.22:1. WCAG asks for at least 4.5:1 for normal text.