#9A98B2 color
The hex color #9A98B2 is a light, grayish blue.
In the RGB color model it is made of 60.4% red, 59.6% green and 69.8% blue (154, 152, 178).
Its hue angle is 245°, with 14% saturation and 65% lightness. For print, the CMYK equivalent is 13% cyan, 15% magenta, 0% yellow and 30% black.
The closest named color is Machinery (#9999AA), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.51:1).
#9A98B2 color codes
| HEX | #9A98B2 | |
|---|---|---|
| RGB | rgb(154, 152, 178) | |
| RGB percent | rgb(60.4%, 59.6%, 69.8%) | |
| HSL | hsl(245, 14%, 65%) | |
| HSV / HSB | hsv(245, 15%, 70%) | |
| CMYK | cmyk(13%, 15%, 0%, 30%) | |
| CIE LAB | lab(63.79, 6.05, -13.24) | |
| CIE LCH | lch(63.79, 14.55, 294.55) | |
| CIE XYZ | xyz(32.589, 32.541, 46.675) | |
| Decimal | 10131634 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A98B2, 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 #9A98B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.51:1 | Pass | Pass | Pass |
| Sample text | 2.8:1 | Fail | Fail | Fail |
| #9A98B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.51: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 #9A98B2 looks to people with the most common types of color vision deficiency.
#929bb3Protanopia
no red cones#929ab1Deuteranopia
no green cones#959ca0Tritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #9a98b2; }
.text { color: #9a98b2; }
.border { border: 2px solid #9a98b2; }
.transparent { background-color: rgb(154 152 178 / 50%); }
.gradient { background: linear-gradient(to right, #9a98b2, #a798b2); }
Similar colors
#9999aaMachinery#8c92acCool Gray#9998a7Lavender Ash#9596a4Too Big to Whale#8d95aaSilverfish#979ba8Dusky Mood#8d99b1Moon Veil#a090b8Wizard’s Brew
Questions
- What color is #9A98B2?
- #9A98B2 is a light, grayish blue, closest to the named color Machinery. It belongs to the blue family of colors.
- What is the RGB value of #9A98B2?
- The RGB value is 154, 152, 178: 154 red, 152 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #9A98B2?
- The complementary color is #B0B298, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A98B2?
- Black text. Black text has a contrast ratio of 7.51:1 and white text 2.8:1. WCAG asks for at least 4.5:1 for normal text.