#787B8D color
The hex color #787B8D is a grayish blue.
In the RGB color model it is made of 47.1% red, 48.2% green and 55.3% blue (120, 123, 141).
Its hue angle is 231°, with 8% saturation and 51% lightness. For print, the CMYK equivalent is 15% cyan, 13% magenta, 0% yellow and 45% black.
The closest named color is Your Shadow (#787E93), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.02:1).
#787B8D color codes
| HEX | #787B8D | |
|---|---|---|
| RGB | rgb(120, 123, 141) | |
| RGB percent | rgb(47.1%, 48.2%, 55.3%) | |
| HSL | hsl(231, 8%, 51%) | |
| HSV / HSB | hsv(231, 15%, 55%) | |
| CMYK | cmyk(15%, 13%, 0%, 45%) | |
| CIE LAB | lab(51.93, 2.78, -10.12) | |
| CIE LCH | lch(51.93, 10.49, 285.35) | |
| CIE XYZ | xyz(19.635, 20.082, 28.036) | |
| Decimal | 7895949 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787B8D, 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 #787B8D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.02:1 | Pass | Fail | Pass |
| Sample text | 4.19:1 | Fail | Fail | Pass |
| #787B8D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.19:1 | Fail | Fail | Pass |
| Sample text | 5.02: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 #787B8D looks to people with the most common types of color vision deficiency.
#767d8eProtanopia
no red cones#757b8dDeuteranopia
no green cones#737e81Tritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #787b8d; }
.text { color: #787b8d; }
.border { border: 2px solid #787b8d; }
.transparent { background-color: rgb(120 123 141 / 50%); }
.gradient { background: linear-gradient(to right, #787b8d, #80788d); }
Similar colors
#787e93Your Shadow#747a8aAbandoned Spaceship#7e7d88Silver Surfer#848393Mecha Metal#79839bTempest#787489Flying Carpet#84838eIn the Twilight#74819aStonewash
Closest common color name: Slate Gray.
Questions
- What color is #787B8D?
- #787B8D 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 #787B8D?
- The RGB value is 120, 123, 141: 120 red, 123 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #787B8D?
- The complementary color is #8D8A78, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787B8D?
- Black text. Black text has a contrast ratio of 5.02:1 and white text 4.19:1. WCAG asks for at least 4.5:1 for normal text.