#787D8D color
The hex color #787D8D is a grayish blue.
In the RGB color model it is made of 47.1% red, 49% green and 55.3% blue (120, 125, 141).
Its hue angle is 226°, with 8% saturation and 51% lightness. For print, the CMYK equivalent is 15% cyan, 11% magenta, 0% yellow and 45% black.
The closest named color is Abandoned Spaceship (#747A8A), a difference of 1.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.12:1).
#787D8D color codes
| HEX | #787D8D | |
|---|---|---|
| RGB | rgb(120, 125, 141) | |
| RGB percent | rgb(47.1%, 49%, 55.3%) | |
| HSL | hsl(226, 8%, 51%) | |
| HSV / HSB | hsv(226, 15%, 55%) | |
| CMYK | cmyk(15%, 11%, 0%, 45%) | |
| CIE LAB | lab(52.49, 1.61, -9.28) | |
| CIE LCH | lch(52.49, 9.42, 279.86) | |
| CIE XYZ | xyz(19.886, 20.583, 28.119) | |
| Decimal | 7896461 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787D8D, 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 #787D8D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.12:1 | Pass | Fail | Pass |
| Sample text | 4.1:1 | Fail | Fail | Pass |
| #787D8D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.1:1 | Fail | Fail | Pass |
| Sample text | 5.12: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 #787D8D looks to people with the most common types of color vision deficiency.
#797e8eProtanopia
no red cones#777c8dDeuteranopia
no green cones#738082Tritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #787d8d; }
.text { color: #787d8d; }
.border { border: 2px solid #787d8d; }
.transparent { background-color: rgb(120 125 141 / 50%); }
.gradient { background: linear-gradient(to right, #787d8d, #7e788d); }
Similar colors
#747a8aAbandoned Spaceship#787e93Your Shadow#7e7d88Silver Surfer#79839bTempest#767d86Nocturnal#848393Mecha Metal#7e8590Smoky Studio#74819aStonewash
Closest common color name: Slate Gray.
Questions
- What color is #787D8D?
- #787D8D is a grayish blue, closest to the named color Abandoned Spaceship. It belongs to the gray family of colors.
- What is the RGB value of #787D8D?
- The RGB value is 120, 125, 141: 120 red, 125 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #787D8D?
- The complementary color is #8D8878, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787D8D?
- Black text. Black text has a contrast ratio of 5.12:1 and white text 4.1:1. WCAG asks for at least 4.5:1 for normal text.