#9795A8 color
The hex color #9795A8 is a light, grayish blue.
In the RGB color model it is made of 59.2% red, 58.4% green and 65.9% blue (151, 149, 168).
Its hue angle is 246°, with 10% saturation and 62% lightness. For print, the CMYK equivalent is 10% cyan, 11% magenta, 0% yellow and 34% black.
The closest named color is Machinery (#9999AA), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.18:1).
#9795A8 color codes
| HEX | #9795A8 | |
|---|---|---|
| RGB | rgb(151, 149, 168) | |
| RGB percent | rgb(59.2%, 58.4%, 65.9%) | |
| HSL | hsl(246, 10%, 62%) | |
| HSV / HSB | hsv(246, 11%, 66%) | |
| CMYK | cmyk(10%, 11%, 0%, 34%) | |
| CIE LAB | lab(62.42, 4.56, -9.67) | |
| CIE LCH | lch(62.42, 10.69, 295.27) | |
| CIE XYZ | xyz(30.576, 30.901, 41.392) | |
| Decimal | 9934248 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9795A8, 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 #9795A8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.18:1 | Pass | Pass | Pass |
| Sample text | 2.92:1 | Fail | Fail | Fail |
| #9795A8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.92:1 | Fail | Fail | Fail |
| Sample text | 7.18: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 #9795A8 looks to people with the most common types of color vision deficiency.
#9197a9Protanopia
no red cones#9197a7Deuteranopia
no green cones#94989bTritanopia
no blue cones#979797Achromatopsia
no color vision
CSS examples
.background { background-color: #9795a8; }
.text { color: #9795a8; }
.border { border: 2px solid #9795a8; }
.transparent { background-color: rgb(151 149 168 / 50%); }
.gradient { background: linear-gradient(to right, #9795a8, #a195a8); }
Similar colors
#9999aaMachinery#9998a7Lavender Ash#9596a4Too Big to Whale#8c92acCool Gray#9698a3Dark Ages#979ba8Dusky Mood#8d95aaSilverfish#888899Dusty Chimney
Questions
- What color is #9795A8?
- #9795A8 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 #9795A8?
- The RGB value is 151, 149, 168: 151 red, 149 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #9795A8?
- The complementary color is #A6A895, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9795A8?
- Black text. Black text has a contrast ratio of 7.18:1 and white text 2.92:1. WCAG asks for at least 4.5:1 for normal text.