#787FA8 color
The hex color #787FA8 is a grayish blue.
In the RGB color model it is made of 47.1% red, 49.8% green and 65.9% blue (120, 127, 168).
Its hue angle is 231°, with 22% saturation and 56% lightness. For print, the CMYK equivalent is 29% cyan, 24% magenta, 0% yellow and 34% black.
The closest named color is English Manor (#7181A4), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.4:1).
#787FA8 color codes
| HEX | #787FA8 | |
|---|---|---|
| RGB | rgb(120, 127, 168) | |
| RGB percent | rgb(47.1%, 49.8%, 65.9%) | |
| HSL | hsl(231, 22%, 56%) | |
| HSV / HSB | hsv(231, 29%, 66%) | |
| CMYK | cmyk(29%, 24%, 0%, 34%) | |
| CIE LAB | lab(54.03, 7.02, -22.63) | |
| CIE LCH | lch(54.03, 23.69, 287.23) | |
| CIE XYZ | xyz(22.401, 21.998, 40.104) | |
| Decimal | 7897000 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787FA8, 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 #787FA8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.4:1 | Pass | Fail | Pass |
| Sample text | 3.89:1 | Fail | Fail | Pass |
| #787FA8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.89:1 | Fail | Fail | Pass |
| Sample text | 5.4: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 #787FA8 looks to people with the most common types of color vision deficiency.
#7383aaProtanopia
no red cones#707fa7Deuteranopia
no green cones#6c878dTritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #787fa8; }
.text { color: #787fa8; }
.border { border: 2px solid #787fa8; }
.transparent { background-color: rgb(120 127 168 / 50%); }
.gradient { background: linear-gradient(to right, #787fa8, #8978a8); }
Similar colors
#7181a4English Manor#777799Stormy Horizon#7f8cb8Galactic Gossamer#867ba9Aster#79839bTempest#65769aMisty Harbour#6d83bbOrbital#74819aStonewash
Closest common color name: Cool Gray.
Questions
- What color is #787FA8?
- #787FA8 is a grayish blue, closest to the named color English Manor. It belongs to the blue family of colors.
- What is the RGB value of #787FA8?
- The RGB value is 120, 127, 168: 120 red, 127 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #787FA8?
- The complementary color is #A8A178, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787FA8?
- Black text. Black text has a contrast ratio of 5.4:1 and white text 3.89:1. WCAG asks for at least 4.5:1 for normal text.