#9799AF color
The hex color #9799AF is a light, grayish blue.
In the RGB color model it is made of 59.2% red, 60% green and 68.6% blue (151, 153, 175).
Its hue angle is 235°, with 13% saturation and 64% lightness. For print, the CMYK equivalent is 14% cyan, 13% magenta, 0% yellow and 31% black.
The closest named color is Machinery (#9999AA), a difference of 2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.49:1).
#9799AF color codes
| HEX | #9799AF | |
|---|---|---|
| RGB | rgb(151, 153, 175) | |
| RGB percent | rgb(59.2%, 60%, 68.6%) | |
| HSL | hsl(235, 13%, 64%) | |
| HSV / HSB | hsv(235, 14%, 69%) | |
| CMYK | cmyk(14%, 13%, 0%, 31%) | |
| CIE LAB | lab(63.72, 3.82, -11.68) | |
| CIE LCH | lch(63.72, 12.29, 288.12) | |
| CIE XYZ | xyz(31.89, 32.457, 45.134) | |
| Decimal | 9935279 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9799AF, 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 #9799AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.49:1 | Pass | Pass | Pass |
| Sample text | 2.8:1 | Fail | Fail | Fail |
| #9799AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.49: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 #9799AF looks to people with the most common types of color vision deficiency.
#949bb0Protanopia
no red cones#939aaeDeuteranopia
no green cones#929da0Tritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #9799af; }
.text { color: #9799af; }
.border { border: 2px solid #9799af; }
.transparent { background-color: rgb(151 153 175 / 50%); }
.gradient { background: linear-gradient(to right, #9799af, #a197af); }
Similar colors
#9999aaMachinery#9998a7Lavender Ash#8c92acCool Gray#9596a4Too Big to Whale#8d95aaSilverfish#979ba8Dusky Mood#8d99b1Moon Veil#9698a3Dark Ages
Questions
- What color is #9799AF?
- #9799AF is a light, grayish blue, closest to the named color Machinery. It belongs to the gray family of colors.
- What is the RGB value of #9799AF?
- The RGB value is 151, 153, 175: 151 red, 153 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #9799AF?
- The complementary color is #AFAD97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9799AF?
- Black text. Black text has a contrast ratio of 7.49:1 and white text 2.8:1. WCAG asks for at least 4.5:1 for normal text.