#8A8A9E#8A8A9E

#8A8A9E is a light, muted blue. Relative luminance 0.260; OKLCH L 64.0% C 0.030 H 285.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A8A9E
RGBrgb(138, 138, 158)
HSLhsl(240, 9%, 58%)
HSVhsv(240, 13%, 62%)
CMYKcmyk(12.7%, 12.7%, 0%, 38%)
CIE-LABlab(58.08, 4.17, -10.58)
CIE-LCHlch(58.08, 11.37, 291.48°)
OKLaboklab(64.02% 0.0079 -0.0286)
OKLCHoklch(64.02% 0.03 285.5)
XYZxyz(25.7400, 26.0486, 36.0129)
Luminance0.2605 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A9E #9E9E8A
analogous
#8A949E #8A8A9E #948A9E
triadic
#8A8A9E #9E8A8A #8A9E8A
tetradic
#8A8A9E #9E8A94 #9E9E8A #8A9E94
square
#8A8A9E #9E8A94 #9E9E8A #8A9E94
split-complementary
#8A8A9E #9E948A #949E8A
monochromatic
#4F4F5F #6A6A80 #8A8A9E #ABABBA #CDCDD5

Accessibility & contrast

On white

3.38
#8A8A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8A8A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A9E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A9E#FFFFFF#000000##000000
##8A8A9E1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#858C9F
Deuteranopia (green-blind)
#858B9D
Tritanopia (blue-blind)
#868D90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a8a9e;
/* rgb */ color: rgb(138, 138, 158);
/* oklch */ color: oklch(64.0% 0.030 285.5);
Tailwind
colors: {
  custom: {
    50: '#acacba',
    500: '#8a8a9e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a9e;
$custom-light: #acacba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a9e",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 9.346,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64018,
    "c": 0.02966,
    "h": 285.5
  },
  "luminance": 0.26049
}

Semantic roles & 50–950 ramp

primary
#8A8A9E
secondary
#C6C6BE
accent
#B275B2
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A8A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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