#787FA2 color
The hex color #787FA2 is a grayish blue.
In the RGB color model it is made of 47.1% red, 49.8% green and 63.5% blue (120, 127, 162).
Its hue angle is 230°, with 18% saturation and 55% lightness. For print, the CMYK equivalent is 26% cyan, 22% magenta, 0% yellow and 36% black.
The closest named color is English Manor (#7181A4), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.36:1).
#787FA2 color codes
| HEX | #787FA2 | |
|---|---|---|
| RGB | rgb(120, 127, 162) | |
| RGB percent | rgb(47.1%, 49.8%, 63.5%) | |
| HSL | hsl(230, 18%, 55%) | |
| HSV / HSB | hsv(230, 26%, 64%) | |
| CMYK | cmyk(26%, 22%, 0%, 36%) | |
| CIE LAB | lab(53.79, 5.49, -19.52) | |
| CIE LCH | lch(53.79, 20.28, 285.71) | |
| CIE XYZ | xyz(21.855, 21.78, 37.228) | |
| Decimal | 7896994 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787FA2, 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 #787FA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.36:1 | Pass | Fail | Pass |
| Sample text | 3.92:1 | Fail | Fail | Pass |
| #787FA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.92:1 | Fail | Fail | Pass |
| Sample text | 5.36: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 #787FA2 looks to people with the most common types of color vision deficiency.
#7582a4Protanopia
no red cones#727fa1Deuteranopia
no green cones#6e858bTritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #787fa2; }
.text { color: #787fa2; }
.border { border: 2px solid #787fa2; }
.transparent { background-color: rgb(120 127 162 / 50%); }
.gradient { background: linear-gradient(to right, #787fa2, #8678a2); }
Similar colors
#7181a4English Manor#777799Stormy Horizon#79839bTempest#74819aStonewash#787e93Your Shadow#6e7e99Infinity and Beyond#7f8cb8Galactic Gossamer#65769aMisty Harbour
Closest common color name: Cool Gray.
Questions
- What color is #787FA2?
- #787FA2 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 #787FA2?
- The RGB value is 120, 127, 162: 120 red, 127 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #787FA2?
- The complementary color is #A29B78, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787FA2?
- Black text. Black text has a contrast ratio of 5.36:1 and white text 3.92:1. WCAG asks for at least 4.5:1 for normal text.