#8A8BC4#8A8BC4

#8A8BC4 is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.8% C 0.084 H 283.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8A8BC4
RGBrgb(138, 139, 196)
HSLhsl(239, 33%, 65%)
HSVhsv(239, 30%, 77%)
CMYKcmyk(29.6%, 29.1%, 0%, 23.1%)
CIE-LABlab(59.76, 12.66, -29.65)
CIE-LCHlch(59.76, 32.24, 293.13°)
OKLaboklab(65.78% 0.0191 -0.0822)
OKLCHoklch(65.78% 0.084 283)
XYZxyz(29.6750, 27.8533, 56.0266)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BC4 #C4C38A
analogous
#8AA8C4 #8A8BC4 #A68AC4
triadic
#8A8BC4 #C48A8B #8BC48A
tetradic
#8A8BC4 #C48AA8 #C4C38A #8AC4A6
square
#8A8BC4 #C48AA8 #C4C38A #8AC4A6
split-complementary
#8A8BC4 #C4A68A #A8C48A
monochromatic
#47488D #6163AF #8A8BC4 #B3B3D9 #DBDCED

Accessibility & contrast

On white

3.20
#8A8BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#8A8BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BC4
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BC4#FFFFFF#000000##000000
##8A8BC41.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B92C6
Deuteranopia (green-blind)
#798EC3
Tritanopia (blue-blind)
#7C959F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8bc4;
/* rgb */ color: rgb(138, 139, 196);
/* oklch */ color: oklch(65.8% 0.084 283.0);
Tailwind
colors: {
  custom: {
    50: '#adacd6',
    500: '#8a8bc4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bc4;
$custom-light: #adacd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bc4",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 196
  },
  "hsl": {
    "h": 238.966,
    "s": 32.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65782,
    "c": 0.08438,
    "h": 283
  },
  "luminance": 0.27854
}

Semantic roles & 50–950 ramp

primary
#8A8BC4
secondary
#DFDECB
accent
#AA3AAC
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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