#787A8E color
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 | |
|---|---|---|
| RGB | rgb(120, 122, 142) | |
| RGB percent | rgb(47.1%, 47.8%, 55.7%) | |
| HSL | hsl(235, 9%, 51%) | |
| HSV / HSB | hsv(235, 15%, 56%) | |
| CMYK | cmyk(15%, 14%, 0%, 44%) | |
| CIE LAB | lab(51.68, 3.59, -11.07) | |
| CIE LCH | lch(51.68, 11.64, 287.97) | |
| CIE XYZ | xyz(19.587, 19.865, 28.388) | |
| Decimal | 7895694 | |
| Short hex | None (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 #787A8E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.97:1 | Pass | Fail | Pass |
| Sample text | 4.22:1 | Fail | Fail | Pass |
| #787A8E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.22:1 | Fail | Fail | Pass |
| Sample text | 4.97:1 | Pass | Fail | Pass |
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.
#757c8fProtanopia
no red cones#747a8dDeuteranopia
no green cones#737d80Tritanopia
no blue cones#7b7b7bAchromatopsia
no color vision
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); }
Similar colors
#787e93Your Shadow#747a8aAbandoned Spaceship#787489Flying Carpet#848393Mecha Metal#7e7d88Silver Surfer#79839bTempest#74819aStonewash#84838eIn the Twilight
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.