#8A8BC5#8A8BC5

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

Color values

HEX#8A8BC5
RGBrgb(138, 139, 197)
HSLhsl(239, 34%, 66%)
HSVhsv(239, 30%, 77%)
CMYKcmyk(29.9%, 29.4%, 0%, 22.7%)
CIE-LABlab(59.80, 12.92, -30.15)
CIE-LCHlch(59.80, 32.80, 293.20°)
OKLaboklab(65.83% 0.0193 -0.0836)
OKLCHoklch(65.83% 0.086 283)
XYZxyz(29.7892, 27.8990, 56.6280)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BC5 #C5C48A
analogous
#8AA8C5 #8A8BC5 #A68AC5
triadic
#8A8BC5 #C58A8B #8BC58A
tetradic
#8A8BC5 #C58AA8 #C5C48A #8AC5A6
square
#8A8BC5 #C58AA8 #C5C48A #8AC5A6
split-complementary
#8A8BC5 #C5A68A #A8C58A
monochromatic
#46488E #6162B1 #8A8BC5 #B3B4D9 #DCDCEE

Accessibility & contrast

On white

3.19
#8A8BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#8A8BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BC5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BC5#FFFFFF#000000##000000
##8A8BC51.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A92C7
Deuteranopia (green-blind)
#788EC4
Tritanopia (blue-blind)
#7B96A0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8bc5;
/* rgb */ color: rgb(138, 139, 197);
/* oklch */ color: oklch(65.8% 0.086 283.0);
Tailwind
colors: {
  custom: {
    50: '#adacd6',
    500: '#8a8bc5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bc5;
$custom-light: #adacd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bc5",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 197
  },
  "hsl": {
    "h": 238.983,
    "s": 33.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65828,
    "c": 0.08583,
    "h": 283
  },
  "luminance": 0.279
}

Semantic roles & 50–950 ramp

primary
#8A8BC5
secondary
#DFDFCC
accent
#AB39AD
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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