#9798BB color
The hex color #9798BB is a light, grayish blue.
In the RGB color model it is made of 59.2% red, 59.6% green and 73.3% blue (151, 152, 187).
Its hue angle is 238°, with 21% saturation and 66% lightness. For print, the CMYK equivalent is 19% cyan, 19% magenta, 0% yellow and 27% black.
The closest named color is Cool Gray (#8C92AC), a difference of 4.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.52:1).
#9798BB color codes
| HEX | #9798BB | |
|---|---|---|
| RGB | rgb(151, 152, 187) | |
| RGB percent | rgb(59.2%, 59.6%, 73.3%) | |
| HSL | hsl(238, 21%, 66%) | |
| HSV / HSB | hsv(238, 19%, 73%) | |
| CMYK | cmyk(19%, 19%, 0%, 27%) | |
| CIE LAB | lab(63.85, 7.07, -18.21) | |
| CIE LCH | lch(63.85, 19.54, 291.22) | |
| CIE XYZ | xyz(32.958, 32.623, 51.565) | |
| Decimal | 9935035 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9798BB, 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 #9798BB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.52:1 | Pass | Pass | Pass |
| Sample text | 2.79:1 | Fail | Fail | Fail |
| #9798BB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.52:1 | Pass | Pass | 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 #9798BB looks to people with the most common types of color vision deficiency.
#8f9cbdProtanopia
no red cones#8e9abaDeuteranopia
no green cones#8f9ea4Tritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
CSS examples
.background { background-color: #9798bb; }
.text { color: #9798bb; }
.border { border: 2px solid #9798bb; }
.transparent { background-color: rgb(151 152 187 / 50%); }
.gradient { background: linear-gradient(to right, #9798bb, #a897bb); }
Similar colors
#8c92acCool Gray#8e97c7Easter Egg#a99fcfImperial Lilac#a090b8Wizard’s Brew#9999aaMachinery#8d95aaSilverfish#8d99b1Moon Veil#7f8cb8Galactic Gossamer
Questions
- What color is #9798BB?
- #9798BB is a light, grayish blue, closest to the named color Cool Gray. It belongs to the blue family of colors.
- What is the RGB value of #9798BB?
- The RGB value is 151, 152, 187: 151 red, 152 green and 187 blue on a 0 to 255 scale.
- What is the complementary color of #9798BB?
- The complementary color is #BBBA97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9798BB?
- Black text. Black text has a contrast ratio of 7.52:1 and white text 2.79:1. WCAG asks for at least 4.5:1 for normal text.