#8A8EA8#8A8EA8

#8A8EA8 is a light, muted blue. Relative luminance 0.276; OKLCH L 65.2% C 0.039 H 278.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A8EA8
RGBrgb(138, 142, 168)
HSLhsl(232, 15%, 60%)
HSVhsv(232, 18%, 66%)
CMYKcmyk(17.9%, 15.5%, 0%, 34.1%)
CIE-LABlab(59.50, 4.13, -14.16)
CIE-LCHlch(59.50, 14.75, 286.26°)
OKLaboklab(65.24% 0.0057 -0.0385)
OKLCHoklch(65.24% 0.039 278.4)
XYZxyz(27.2205, 27.5760, 40.9268)
Luminance0.2758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EA8 #A8A48A
analogous
#8A9DA8 #8A8EA8 #958AA8
triadic
#8A8EA8 #A88A8E #8EA88A
tetradic
#8A8EA8 #A88A9D #A8A48A #8AA895
square
#8A8EA8 #A88A9D #A8A48A #8AA895
split-complementary
#8A8EA8 #A8958A #9DA88A
monochromatic
#4E5269 #686D8C #8A8EA8 #ADB0C2 #D0D2DC

Accessibility & contrast

On white

3.22
#8A8EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8A8EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EA8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EA8#FFFFFF#000000##000000
##8A8EA81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8790A9
Deuteranopia (green-blind)
#868EA7
Tritanopia (blue-blind)
#839396
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8ea8;
/* rgb */ color: rgb(138, 142, 168);
/* oklch */ color: oklch(65.2% 0.039 278.4);
Tailwind
colors: {
  custom: {
    50: '#acafc1',
    500: '#8a8ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ea8;
$custom-light: #acafc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ea8",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 168
  },
  "hsl": {
    "h": 232,
    "s": 14.706,
    "l": 60
  },
  "oklch": {
    "l": 0.65238,
    "c": 0.0389,
    "h": 278.4
  },
  "luminance": 0.27576
}

Semantic roles & 50–950 ramp

primary
#8A8EA8
secondary
#CDCBC1
accent
#AE70B7
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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