#787CA3 color
The hex color #787CA3 is a grayish blue.
In the RGB color model it is made of 47.1% red, 48.6% green and 63.9% blue (120, 124, 163).
Its hue angle is 234°, with 19% saturation and 55% lightness. For print, the CMYK equivalent is 26% cyan, 24% magenta, 0% yellow and 36% black.
The closest named color is Stormy Horizon (#777799), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.21:1).
#787CA3 color codes
| HEX | #787CA3 | |
|---|---|---|
| RGB | rgb(120, 124, 163) | |
| RGB percent | rgb(47.1%, 48.6%, 63.9%) | |
| HSL | hsl(234, 19%, 55%) | |
| HSV / HSB | hsv(234, 26%, 64%) | |
| CMYK | cmyk(26%, 24%, 0%, 36%) | |
| CIE LAB | lab(53.01, 7.5, -21.3) | |
| CIE LCH | lch(53.01, 22.59, 289.41) | |
| CIE XYZ | xyz(21.563, 21.052, 37.571) | |
| Decimal | 7896227 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787CA3, 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 #787CA3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.21:1 | Pass | Fail | Pass |
| Sample text | 4.03:1 | Fail | Fail | Pass |
| #787CA3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.03:1 | Fail | Fail | Pass |
| Sample text | 5.21: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 #787CA3 looks to people with the most common types of color vision deficiency.
#7180a5Protanopia
no red cones#6f7da2Deuteranopia
no green cones#6e8389Tritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #787ca3; }
.text { color: #787ca3; }
.border { border: 2px solid #787ca3; }
.transparent { background-color: rgb(120 124 163 / 50%); }
.gradient { background: linear-gradient(to right, #787ca3, #8a78a3); }
Similar colors
#777799Stormy Horizon#7181a4English Manor#867ba9Aster#65769aMisty Harbour#79839bTempest#787e93Your Shadow#74819aStonewash#7f8cb8Galactic Gossamer
Closest common color name: Cool Gray.
Questions
- What color is #787CA3?
- #787CA3 is a grayish blue, closest to the named color Stormy Horizon. It belongs to the blue family of colors.
- What is the RGB value of #787CA3?
- The RGB value is 120, 124, 163: 120 red, 124 green and 163 blue on a 0 to 255 scale.
- What is the complementary color of #787CA3?
- The complementary color is #A39F78, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787CA3?
- Black text. Black text has a contrast ratio of 5.21:1 and white text 4.03:1. WCAG asks for at least 4.5:1 for normal text.