#8A8CB8#8A8CB8

#8A8CB8 is a light, moderate blue. Relative luminance 0.276; OKLCH L 65.5% C 0.065 H 282.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A8CB8
RGBrgb(138, 140, 184)
HSLhsl(237, 24%, 63%)
HSVhsv(237, 25%, 72%)
CMYKcmyk(25%, 23.9%, 0%, 27.8%)
CIE-LABlab(59.54, 9.08, -23.19)
CIE-LCHlch(59.54, 24.90, 291.38°)
OKLaboklab(65.46% 0.014 -0.0638)
OKLCHoklch(65.46% 0.065 282.4)
XYZxyz(28.5089, 27.6195, 49.1672)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CB8 #B8B68A
analogous
#8AA3B8 #8A8CB8 #9F8AB8
triadic
#8A8CB8 #B88A8C #8CB88A
tetradic
#8A8CB8 #B88AA3 #B8B68A #8AB89F
square
#8A8CB8 #B88AA3 #B8B68A #8AB89F
split-complementary
#8A8CB8 #B89F8A #A3B88A
monochromatic
#4B4E7C #6467A1 #8A8CB8 #B0B1CF #D6D7E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8CB8#FFFFFF#000000##000000
##8A8CB81.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)
#8091BA
Deuteranopia (green-blind)
#7E8EB7
Tritanopia (blue-blind)
#7F949B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8cb8;
/* rgb */ color: rgb(138, 140, 184);
/* oklch */ color: oklch(65.5% 0.065 282.4);
Tailwind
colors: {
  custom: {
    50: '#adadcd',
    500: '#8a8cb8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cb8;
$custom-light: #adadcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cb8",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 184
  },
  "hsl": {
    "h": 237.391,
    "s": 24.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6546,
    "c": 0.06533,
    "h": 282.4
  },
  "luminance": 0.2762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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