#7987A2 color
The hex color #7987A2 is a grayish azure.
In the RGB color model it is made of 47.5% red, 52.9% green and 63.5% blue (121, 135, 162).
Its hue angle is 220°, with 18% saturation and 55% lightness. For print, the CMYK equivalent is 25% cyan, 17% magenta, 0% yellow and 36% black.
The closest named color is Tempest (#79839B), a difference of 2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.8:1).
#7987A2 color codes
| HEX | #7987A2 | |
|---|---|---|
| RGB | rgb(121, 135, 162) | |
| RGB percent | rgb(47.5%, 52.9%, 63.5%) | |
| HSL | hsl(220, 18%, 55%) | |
| HSV / HSB | hsv(220, 25%, 64%) | |
| CMYK | cmyk(25%, 17%, 0%, 36%) | |
| CIE LAB | lab(56.09, 1.16, -16.02) | |
| CIE LCH | lch(56.09, 16.06, 274.15) | |
| CIE XYZ | xyz(23.069, 24.001, 37.593) | |
| Decimal | 7964578 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7987A2, 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 #7987A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.8:1 | Pass | Fail | Pass |
| Sample text | 3.62:1 | Fail | Fail | Pass |
| #7987A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.62:1 | Fail | Fail | Pass |
| Sample text | 5.8: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 #7987A2 looks to people with the most common types of color vision deficiency.
#7e89a3Protanopia
no red cones#7b85a1Deuteranopia
no green cones#6e8c90Tritanopia
no blue cones#868686Achromatopsia
no color vision
CSS examples
.background { background-color: #7987a2; }
.text { color: #7987a2; }
.border { border: 2px solid #7987a2; }
.transparent { background-color: rgb(121 135 162 / 50%); }
.gradient { background: linear-gradient(to right, #7987a2, #8079a2); }
Similar colors
#79839bTempest#74819aStonewash#7181a4English Manor#6e7e99Infinity and Beyond#6a819eBay View#787e93Your Shadow#778899Light Slate Gray#7c94b3Celestial Horizon
Questions
- What color is #7987A2?
- #7987A2 is a grayish azure, closest to the named color Tempest. It belongs to the blue family of colors.
- What is the RGB value of #7987A2?
- The RGB value is 121, 135, 162: 121 red, 135 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #7987A2?
- The complementary color is #A29479, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7987A2?
- Black text. Black text has a contrast ratio of 5.8:1 and white text 3.62:1. WCAG asks for at least 4.5:1 for normal text.