#A5AFBF color
The hex color #A5AFBF is a light, grayish azure.
In the RGB color model it is made of 64.7% red, 68.6% green and 74.9% blue (165, 175, 191).
Its hue angle is 217°, with 17% saturation and 70% lightness. For print, the CMYK equivalent is 14% cyan, 8% magenta, 0% yellow and 25% black.
The closest named color is Lost in Time (#9FAFBD), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.48:1).
#A5AFBF color codes
| HEX | #A5AFBF | |
|---|---|---|
| RGB | rgb(165, 175, 191) | |
| RGB percent | rgb(64.7%, 68.6%, 74.9%) | |
| HSL | hsl(217, 17%, 70%) | |
| HSV / HSB | hsv(217, 14%, 75%) | |
| CMYK | cmyk(14%, 8%, 0%, 25%) | |
| CIE LAB | lab(71.16, -0.22, -9.34) | |
| CIE LCH | lch(71.16, 9.34, 268.66) | |
| CIE XYZ | xyz(40.249, 42.42, 55.348) | |
| Decimal | 10858431 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5AFBF, 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 #A5AFBF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.48:1 | Pass | Pass | Pass |
| Sample text | 2.21:1 | Fail | Fail | Fail |
| #A5AFBF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.48: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 #A5AFBF looks to people with the most common types of color vision deficiency.
#aab0c0Protanopia
no red cones#a7adbfDeuteranopia
no green cones#9fb2b4Tritanopia
no blue cones#aeaeaeAchromatopsia
no color vision
CSS examples
.background { background-color: #a5afbf; }
.text { color: #a5afbf; }
.border { border: 2px solid #a5afbf; }
.transparent { background-color: rgb(165 175 191 / 50%); }
.gradient { background: linear-gradient(to right, #a5afbf, #a8a5bf); }
Similar colors
#9fafbdLost in Time#b0b8ccEthereal Mist#aebbd0Sailor Boy#94a2b1Robotic Gods#afbed4Supremely Cool#b6bdd0Arctic Ice#b4bdc7Stainless Steel#abbed0Rendez-Blue
Closest common color name: Light Steel Blue.
Questions
- What color is #A5AFBF?
- #A5AFBF is a light, grayish azure, closest to the named color Lost in Time. It belongs to the gray family of colors.
- What is the RGB value of #A5AFBF?
- The RGB value is 165, 175, 191: 165 red, 175 green and 191 blue on a 0 to 255 scale.
- What is the complementary color of #A5AFBF?
- The complementary color is #BFB5A5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5AFBF?
- Black text. Black text has a contrast ratio of 9.48:1 and white text 2.21:1. WCAG asks for at least 4.5:1 for normal text.