#7A7C98 color
The hex color #7A7C98 is a grayish blue.
In the RGB color model it is made of 47.8% red, 48.6% green and 59.6% blue (122, 124, 152).
Its hue angle is 236°, with 13% saturation and 54% lightness. For print, the CMYK equivalent is 20% cyan, 18% magenta, 0% yellow and 40% 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.16:1).
#7A7C98 color codes
| HEX | #7A7C98 | |
|---|---|---|
| RGB | rgb(122, 124, 152) | |
| RGB percent | rgb(47.8%, 48.6%, 59.6%) | |
| HSL | hsl(236, 13%, 54%) | |
| HSV / HSB | hsv(236, 20%, 60%) | |
| CMYK | cmyk(20%, 18%, 0%, 40%) | |
| CIE LAB | lab(52.75, 5.45, -15.28) | |
| CIE LCH | lch(52.75, 16.23, 289.62) | |
| CIE XYZ | xyz(20.9, 20.82, 32.617) | |
| Decimal | 8027288 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7A7C98, 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 #7A7C98 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.16:1 | Pass | Fail | Pass |
| Sample text | 4.07:1 | Fail | Fail | Pass |
| #7A7C98 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.07:1 | Fail | Fail | Pass |
| Sample text | 5.16: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 #7A7C98 looks to people with the most common types of color vision deficiency.
#757f99Protanopia
no red cones#747d97Deuteranopia
no green cones#738185Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #7a7c98; }
.text { color: #7a7c98; }
.border { border: 2px solid #7a7c98; }
.transparent { background-color: rgb(122 124 152 / 50%); }
.gradient { background: linear-gradient(to right, #7a7c98, #877a98); }
Similar colors
#777799Stormy Horizon#787e93Your Shadow#787489Flying Carpet#79839bTempest#848393Mecha Metal#74819aStonewash#7181a4English Manor#747a8aAbandoned Spaceship
Closest common color name: Cool Gray.
Questions
- What color is #7A7C98?
- #7A7C98 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 #7A7C98?
- The RGB value is 122, 124, 152: 122 red, 124 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #7A7C98?
- The complementary color is #98967A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7A7C98?
- Black text. Black text has a contrast ratio of 5.16:1 and white text 4.07:1. WCAG asks for at least 4.5:1 for normal text.