#8A8E9E#8A8E9E

#8A8E9E is a light, muted blue. Relative luminance 0.272; OKLCH L 64.9% C 0.024 H 274.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A8E9E
RGBrgb(138, 142, 158)
HSLhsl(228, 9%, 58%)
HSVhsv(228, 13%, 62%)
CMYKcmyk(12.7%, 10.1%, 0%, 38%)
CIE-LABlab(59.18, 1.89, -8.95)
CIE-LCHlch(59.18, 9.15, 281.91°)
OKLaboklab(64.87% 0.0019 -0.0241)
OKLCHoklch(64.87% 0.024 274.5)
XYZxyz(26.3244, 27.2176, 36.2078)
Luminance0.2722 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E9E #9E9A8A
analogous
#8A989E #8A8E9E #908A9E
triadic
#8A8E9E #9E8A8E #8E9E8A
tetradic
#8A8E9E #9E8A98 #9E9A8A #8A9E90
square
#8A8E9E #9E8A98 #9E9A8A #8A9E90
split-complementary
#8A8E9E #9E908A #989E8A
monochromatic
#4F525F #6A6F80 #8A8E9E #ABAEBA #CDCFD5

Accessibility & contrast

On white

3.26
#8A8E9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8A8E9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E9E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E9E#FFFFFF#000000##000000
##8A8E9E1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8F9F
Deuteranopia (green-blind)
#898E9E
Tritanopia (blue-blind)
#869193
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8e9e;
/* rgb */ color: rgb(138, 142, 158);
/* oklch */ color: oklch(64.9% 0.024 274.5);
Tailwind
colors: {
  custom: {
    50: '#acafba',
    500: '#8a8e9e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e9e;
$custom-light: #acafba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e9e",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 158
  },
  "hsl": {
    "h": 228,
    "s": 9.346,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.02421,
    "h": 274.5
  },
  "luminance": 0.27218
}

Semantic roles & 50–950 ramp

primary
#8A8E9E
secondary
#C6C4BE
accent
#A675B2
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A8E9E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8A8E9E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva