#A1A2BA color
The hex color #A1A2BA is a light, grayish blue.
In the RGB color model it is made of 63.1% red, 63.5% green and 72.9% blue (161, 162, 186).
Its hue angle is 238°, with 15% saturation and 68% lightness. For print, the CMYK equivalent is 13% cyan, 13% magenta, 0% yellow and 27% black.
The closest named color is Machinery (#9999AA), a difference of 3.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.39:1).
#A1A2BA color codes
| HEX | #A1A2BA | |
|---|---|---|
| RGB | rgb(161, 162, 186) | |
| RGB percent | rgb(63.1%, 63.5%, 72.9%) | |
| HSL | hsl(238, 15%, 68%) | |
| HSV / HSB | hsv(238, 13%, 73%) | |
| CMYK | cmyk(13%, 13%, 0%, 27%) | |
| CIE LAB | lab(67.25, 4.53, -12.45) | |
| CIE LCH | lch(67.25, 13.25, 289.99) | |
| CIE XYZ | xyz(36.479, 36.963, 51.657) | |
| Decimal | 10592954 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A1A2BA, 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 #A1A2BA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.39:1 | Pass | Pass | Pass |
| Sample text | 2.5:1 | Fail | Fail | Fail |
| #A1A2BA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.5:1 | Fail | Fail | Fail |
| Sample text | 8.39: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 #A1A2BA looks to people with the most common types of color vision deficiency.
#9ca4bbProtanopia
no red cones#9ba3b9Deuteranopia
no green cones#9ca6aaTritanopia
no blue cones#a4a4a4Achromatopsia
no color vision
CSS examples
.background { background-color: #a1a2ba; }
.text { color: #a1a2ba; }
.border { border: 2px solid #a1a2ba; }
.transparent { background-color: rgb(161 162 186 / 50%); }
.gradient { background: linear-gradient(to right, #a1a2ba, #ada1ba); }
Similar colors
#9999aaMachinery#9998a7Lavender Ash#9596a4Too Big to Whale#979ba8Dusky Mood#8c92acCool Gray#8d95aaSilverfish#8d99b1Moon Veil#b3b2bfNebulous December
Questions
- What color is #A1A2BA?
- #A1A2BA 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 #A1A2BA?
- The RGB value is 161, 162, 186: 161 red, 162 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #A1A2BA?
- The complementary color is #BAB9A1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A1A2BA?
- Black text. Black text has a contrast ratio of 8.39:1 and white text 2.5:1. WCAG asks for at least 4.5:1 for normal text.