#787A8F color

#787A8F rgb(120, 122, 143)
Shades of gray

The hex color #787A8F is a grayish blue.

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

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

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

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

#787A8F color codes

HEX#787A8F
RGBrgb(120, 122, 143)
RGB percentrgb(47.1%, 47.8%, 56.1%)
HSLhsl(235, 9%, 52%)
HSV / HSBhsv(235, 16%, 56%)
CMYKcmyk(16%, 15%, 0%, 44%)
CIE LABlab(51.72, 3.82, -11.61)
CIE LCHlch(51.72, 12.22, 288.22)
CIE XYZxyz(19.662, 19.895, 28.786)
Decimal7895695
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Slate Gray.

Questions

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