#8A8EB8#8A8EB8

#8A8EB8 is a light, moderate blue. Relative luminance 0.282; OKLCH L 65.9% C 0.063 H 280.3°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8A8EB8
RGBrgb(138, 142, 184)
HSLhsl(235, 24%, 63%)
HSVhsv(235, 25%, 72%)
CMYKcmyk(25%, 22.8%, 0%, 27.8%)
CIE-LABlab(60.08, 7.93, -22.37)
CIE-LCHlch(60.08, 23.74, 289.51°)
OKLaboklab(65.88% 0.0112 -0.0615)
OKLCHoklch(65.88% 0.063 280.3)
XYZxyz(28.8038, 28.2093, 49.2655)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EB8 #B8B48A
analogous
#8AA5B8 #8A8EB8 #9D8AB8
triadic
#8A8EB8 #B88A8E #8EB88A
tetradic
#8A8EB8 #B88AA5 #B8B48A #8AB89D
square
#8A8EB8 #B88AA5 #B8B48A #8AB89D
split-complementary
#8A8EB8 #B89D8A #A5B88A
monochromatic
#4B507C #6469A1 #8A8EB8 #B0B3CF #D6D8E6

Accessibility & contrast

On white

3.16
#8A8EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#8A8EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EB8
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EB8#FFFFFF#000000##000000
##8A8EB81.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8392BA
Deuteranopia (green-blind)
#808FB7
Tritanopia (blue-blind)
#7F959C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a8eb8;
/* rgb */ color: rgb(138, 142, 184);
/* oklch */ color: oklch(65.9% 0.063 280.3);
Tailwind
colors: {
  custom: {
    50: '#adafcd',
    500: '#8a8eb8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eb8;
$custom-light: #adafcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eb8",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 184
  },
  "hsl": {
    "h": 234.783,
    "s": 24.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65875,
    "c": 0.0625,
    "h": 280.3
  },
  "luminance": 0.2821
}

Semantic roles & 50–950 ramp

primary
#8A8EB8
secondary
#D7D6C7
accent
#9B43A3
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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