#A5A7B5 color
The hex color #A5A7B5 is a light, grayish blue.
In the RGB color model it is made of 64.7% red, 65.5% green and 71% blue (165, 167, 181).
Its hue angle is 233°, with 10% saturation and 68% lightness. For print, the CMYK equivalent is 9% cyan, 8% magenta, 0% yellow and 29% black.
The closest named color is Nebulous December (#B3B2BF), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.79:1).
#A5A7B5 color codes
| HEX | #A5A7B5 | |
|---|---|---|
| RGB | rgb(165, 167, 181) | |
| RGB percent | rgb(64.7%, 65.5%, 71%) | |
| HSL | hsl(233, 10%, 68%) | |
| HSV / HSB | hsv(233, 9%, 71%) | |
| CMYK | cmyk(9%, 8%, 0%, 29%) | |
| CIE LAB | lab(68.73, 2.07, -7.43) | |
| CIE LCH | lch(68.73, 7.71, 285.54) | |
| CIE XYZ | xyz(37.675, 38.973, 49.245) | |
| Decimal | 10856373 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5A7B5, 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 #A5A7B5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.79:1 | Pass | Pass | Pass |
| Sample text | 2.39:1 | Fail | Fail | Fail |
| #A5A7B5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.79: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 #A5A7B5 looks to people with the most common types of color vision deficiency.
#a4a8b6Protanopia
no red cones#a3a7b5Deuteranopia
no green cones#a2a9abTritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #a5a7b5; }
.text { color: #a5a7b5; }
.border { border: 2px solid #a5a7b5; }
.transparent { background-color: rgb(165 167 181 / 50%); }
.gradient { background: linear-gradient(to right, #a5a7b5, #aba5b5); }
Similar colors
#b3b2bfNebulous December#979ba8Dusky Mood#9999aaMachinery#9998a7Lavender Ash#9698a3Dark Ages#9596a4Too Big to Whale#b8b9cbCosmic#b0b8ccEthereal Mist
Closest common color name: Dark Gray.
Questions
- What color is #A5A7B5?
- #A5A7B5 is a light, grayish blue, closest to the named color Nebulous December. It belongs to the gray family of colors.
- What is the RGB value of #A5A7B5?
- The RGB value is 165, 167, 181: 165 red, 167 green and 181 blue on a 0 to 255 scale.
- What is the complementary color of #A5A7B5?
- The complementary color is #B5B3A5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5A7B5?
- Black text. Black text has a contrast ratio of 8.79:1 and white text 2.39:1. WCAG asks for at least 4.5:1 for normal text.