#8A8AA6 color

#8A8AA6 rgb(138, 138, 166)
Shades of blue

The hex color #8A8AA6 is a grayish blue.

In the RGB color model it is made of 54.1% red, 54.1% green and 65.1% blue (138, 138, 166).

Its hue angle is 240°, with 14% saturation and 60% lightness. For print, the CMYK equivalent is 17% cyan, 17% magenta, 0% yellow and 35% black.

The closest named color is Cool Gray (#8C92AC), a difference of 3.7 ΔE, a small difference.

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

#8A8AA6 color codes

HEX#8A8AA6
RGBrgb(138, 138, 166)
RGB percentrgb(54.1%, 54.1%, 65.1%)
HSLhsl(240, 14%, 60%)
HSV / HSBhsv(240, 17%, 65%)
CMYKcmyk(17%, 17%, 0%, 35%)
CIE LABlab(58.35, 5.96, -14.76)
CIE LCHlch(58.35, 15.92, 291.99)
CIE XYZxyz(26.451, 26.333, 39.758)
Decimal9079462
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A8AA6, 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 #8A8AA6RatioAAAAAAA large
Sample text6.27:1PassFailPass
Sample text3.35:1FailFailPass
#8A8AA6 as text onRatioAAAAAAA large
Sample text3.35:1FailFailPass
Sample text6.27:1PassFailPass

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

CSS examples

.background { background-color: #8a8aa6; }
.text { color: #8a8aa6; }
.border { border: 2px solid #8a8aa6; }
.transparent { background-color: rgb(138 138 166 / 50%); }
.gradient { background: linear-gradient(to right, #8a8aa6, #988aa6); }
Background
Text color
Border

Similar colors

Questions

What color is #8A8AA6?
#8A8AA6 is a grayish blue, closest to the named color Cool Gray. It belongs to the blue family of colors.
What is the RGB value of #8A8AA6?
The RGB value is 138, 138, 166: 138 red, 138 green and 166 blue on a 0 to 255 scale.
What is the complementary color of #8A8AA6?
The complementary color is #A6A68A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A8AA6?
Black text. Black text has a contrast ratio of 6.27:1 and white text 3.35:1. WCAG asks for at least 4.5:1 for normal text.