#8A8EB4#8A8EB4

#8A8EB4 is a light, muted blue. Relative luminance 0.280; OKLCH L 65.7% C 0.057 H 280.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8A8EB4
RGBrgb(138, 142, 180)
HSLhsl(234, 22%, 62%)
HSVhsv(234, 23%, 71%)
CMYKcmyk(23.3%, 21.1%, 0%, 29.4%)
CIE-LABlab(59.93, 6.95, -20.33)
CIE-LCHlch(59.93, 21.49, 288.88°)
OKLaboklab(65.71% 0.0099 -0.0557)
OKLCHoklch(65.71% 0.057 280)
XYZxyz(28.3904, 28.0440, 47.0884)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EB4 #B4B08A
analogous
#8AA3B4 #8A8EB4 #9B8AB4
triadic
#8A8EB4 #B48A8E #8EB48A
tetradic
#8A8EB4 #B48AA3 #B4B08A #8AB49B
square
#8A8EB4 #B48AA3 #B4B08A #8AB49B
split-complementary
#8A8EB4 #B49B8A #A3B48A
monochromatic
#4C5077 #656A9C #8A8EB4 #AFB2CC #D5D6E4

Accessibility & contrast

On white

3.18
#8A8EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8A8EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EB4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EB4#FFFFFF#000000##000000
##8A8EB41.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8492B6
Deuteranopia (green-blind)
#828FB3
Tritanopia (blue-blind)
#80959B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8eb4;
/* rgb */ color: rgb(138, 142, 180);
/* oklch */ color: oklch(65.7% 0.057 280.0);
Tailwind
colors: {
  custom: {
    50: '#acafca',
    500: '#8a8eb4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eb4;
$custom-light: #acafca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eb4",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 234.286,
    "s": 21.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6571,
    "c": 0.05661,
    "h": 280
  },
  "luminance": 0.28045
}

Semantic roles & 50–950 ramp

primary
#8A8EB4
secondary
#D5D3C5
accent
#9845A0
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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