#8A8EA2

A color in the Blue, Sky, Navy family

#8a8ea2 is a color in the Blue, Sky, Navy family: RGB(138, 142, 162), HSL(230°, 11%, 59%), CMYK(15%, 12%, 0%, 36%). Closest named color: lightslategray. Contrast is 3.24:1 on white and 6.47:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a8ea2
RGBrgb(138 142 162)
RGB (legacy)rgb(138, 142, 162)
RGB %rgb(54% 56% 64%)
HSLhsl(230 11% 59%)
HSV / HSBhsv(230, 15%, 64%)
HWBhwb(230 54% 36%)
CMYKcmyk(15%, 12%, 0%, 36%)
CIELAB (D50)lab(59.19 1.66 -11.14)
LCHlch(59.19 11.27 278.49)
OKLaboklab(0.6502 0.0034 -0.0299)
OKLCHoklch(0.6502 0.0301 276.58)
Decimal9080482

Properties

Color ToneBlue, Sky, Navy
Closest named colorlightslategray ΔE 3.5
Closest web-safe color#999999
Hue230°
Saturation (HSL / HSV)11% / 15%
Lightness (HSL)59%
Brightness or Value (HSV)64%
Luminance (Rec.601 / Rec.709)56% / 56%
Relative luminance (WCAG)0.2736
Red / Green / Blue138 / 142 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.24:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.47:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 59.8 / -42 · As background with white / black text: Lc -65.2 / 44.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8a8ea2;
  --color-brand-oklch: oklch(65.02% 0.0301 276.58);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 142 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a8ea2] text-[#8a8ea2] border-[#8a8ea2]">