#8A8FA6 color

#8A8FA6 rgb(138, 143, 166)
Shades of blue

The hex color #8A8FA6 is a grayish blue.

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

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

The closest named color is Cool Gray (#8C92AC), a difference of 1.5 ΔE, which is barely visible.

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

#8A8FA6 color codes

HEX#8A8FA6
RGBrgb(138, 143, 166)
RGB percentrgb(54.1%, 56.1%, 65.1%)
HSLhsl(229, 14%, 60%)
HSV / HSBhsv(229, 17%, 65%)
CMYKcmyk(17%, 14%, 0%, 35%)
CIE LABlab(59.71, 3.1, -12.71)
CIE LCHlch(59.71, 13.08, 283.72)
CIE XYZxyz(27.185, 27.801, 40.003)
Decimal9080742
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A8FA6, 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 #8A8FA6RatioAAAAAAA large
Sample text6.56:1PassFailPass
Sample text3.2:1FailFailPass
#8A8FA6 as text onRatioAAAAAAA large
Sample text3.2:1FailFailPass
Sample text6.56: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 #8A8FA6 looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

What color is #8A8FA6?
#8A8FA6 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 #8A8FA6?
The RGB value is 138, 143, 166: 138 red, 143 green and 166 blue on a 0 to 255 scale.
What is the complementary color of #8A8FA6?
The complementary color is #A6A18A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A8FA6?
Black text. Black text has a contrast ratio of 6.56:1 and white text 3.2:1. WCAG asks for at least 4.5:1 for normal text.