#787F94 color
The hex color #787F94 is a grayish blue.
In the RGB color model it is made of 47.1% red, 49.8% green and 58% blue (120, 127, 148).
Its hue angle is 225°, with 12% saturation and 53% lightness. For print, the CMYK equivalent is 19% cyan, 14% magenta, 0% yellow and 42% black.
The closest named color is Your Shadow (#787E93), a difference of 0.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.26:1).
#787F94 color codes
| HEX | #787F94 | |
|---|---|---|
| RGB | rgb(120, 127, 148) | |
| RGB percent | rgb(47.1%, 49.8%, 58%) | |
| HSL | hsl(225, 12%, 53%) | |
| HSV / HSB | hsv(225, 19%, 58%) | |
| CMYK | cmyk(19%, 14%, 0%, 42%) | |
| CIE LAB | lab(53.29, 2.07, -12.16) | |
| CIE LCH | lch(53.29, 12.34, 279.68) | |
| CIE XYZ | xyz(20.679, 21.31, 31.035) | |
| Decimal | 7896980 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787F94, 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 #787F94 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.26:1 | Pass | Fail | Pass |
| Sample text | 3.99:1 | Fail | Fail | Pass |
| #787F94 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.99:1 | Fail | Fail | Pass |
| Sample text | 5.26: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 #787F94 looks to people with the most common types of color vision deficiency.
#798195Protanopia
no red cones#777e93Deuteranopia
no green cones#718386Tritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #787f94; }
.text { color: #787f94; }
.border { border: 2px solid #787f94; }
.transparent { background-color: rgb(120 127 148 / 50%); }
.gradient { background: linear-gradient(to right, #787f94, #7f7894); }
Similar colors
#787e93Your Shadow#79839bTempest#74819aStonewash#747a8aAbandoned Spaceship#6e7e99Infinity and Beyond#848393Mecha Metal#838996Roman Silver#888899Dusty Chimney
Closest common color name: Slate Gray.
Questions
- What color is #787F94?
- #787F94 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 #787F94?
- The RGB value is 120, 127, 148: 120 red, 127 green and 148 blue on a 0 to 255 scale.
- What is the complementary color of #787F94?
- The complementary color is #948D78, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787F94?
- Black text. Black text has a contrast ratio of 5.26:1 and white text 3.99:1. WCAG asks for at least 4.5:1 for normal text.