#A5A8B1 color

#A5A8B1 rgb(165, 168, 177)
Shades of gray

The hex color #A5A8B1 is a gray.

In the RGB color model it is made of 64.7% red, 65.9% green and 69.4% blue (165, 168, 177).

Its hue angle is 225°, with 7% saturation and 67% lightness. For print, the CMYK equivalent is 7% cyan, 5% magenta, 0% yellow and 31% black.

The closest named color is Ultimate Gray (#A9A8A9), a difference of 4.1 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 8.84:1).

#A5A8B1 color codes

HEX#A5A8B1
RGBrgb(165, 168, 177)
RGB percentrgb(64.7%, 65.9%, 69.4%)
HSLhsl(225, 7%, 67%)
HSV / HSBhsv(225, 7%, 69%)
CMYKcmyk(7%, 5%, 0%, 31%)
CIE LABlab(68.88, 0.71, -4.99)
CIE LCHlch(68.88, 5.04, 278.04)
CIE XYZxyz(37.454, 39.179, 47.175)
Decimal10856625
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A5A8B1, 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 #A5A8B1RatioAAAAAAA large
Sample text8.84:1PassPassPass
Sample text2.38:1FailFailFail
#A5A8B1 as text onRatioAAAAAAA large
Sample text2.38:1FailFailFail
Sample text8.84:1PassPassPass

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 #A5A8B1 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #a5a8b1; }
.text { color: #a5a8b1; }
.border { border: 2px solid #a5a8b1; }
.transparent { background-color: rgb(165 168 177 / 50%); }
.gradient { background: linear-gradient(to right, #a5a8b1, #a8a5b1); }
Background
Text color
Border

Similar colors

Questions

What color is #A5A8B1?
#A5A8B1 is a gray, closest to the named color Ultimate Gray. It belongs to the gray family of colors.
What is the RGB value of #A5A8B1?
The RGB value is 165, 168, 177: 165 red, 168 green and 177 blue on a 0 to 255 scale.
What is the complementary color of #A5A8B1?
The complementary color is #B1AEA5, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A5A8B1?
Black text. Black text has a contrast ratio of 8.84:1 and white text 2.38:1. WCAG asks for at least 4.5:1 for normal text.