#8A8EA4 color

#8A8EA4 rgb(138, 142, 164)
Shades of gray

The hex color #8A8EA4 is a grayish blue.

In the RGB color model it is made of 54.1% red, 55.7% green and 64.3% blue (138, 142, 164).

Its hue angle is 231°, with 13% saturation and 59% lightness. For print, the CMYK equivalent is 16% cyan, 13% magenta, 0% yellow and 36% black.

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

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

#8A8EA4 color codes

HEX#8A8EA4
RGBrgb(138, 142, 164)
RGB percentrgb(54.1%, 55.7%, 64.3%)
HSLhsl(231, 13%, 59%)
HSV / HSBhsv(231, 16%, 64%)
CMYKcmyk(16%, 13%, 0%, 36%)
CIE LABlab(59.37, 3.22, -12.08)
CIE LCHlch(59.37, 12.5, 284.92)
CIE XYZxyz(26.854, 27.429, 38.994)
Decimal9080484
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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