#8A8BD2#8A8BD2

#8A8BD2 is a light, moderate blue. Relative luminance 0.285; OKLCH L 66.4% C 0.105 H 282.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A8BD2
RGBrgb(138, 139, 210)
HSLhsl(239, 44%, 68%)
HSVhsv(239, 34%, 82%)
CMYKcmyk(34.3%, 33.8%, 0%, 17.6%)
CIE-LABlab(60.36, 16.32, -36.59)
CIE-LCHlch(60.36, 40.07, 294.03°)
OKLaboklab(66.44% 0.0227 -0.1022)
OKLCHoklch(66.44% 0.105 282.5)
XYZxyz(31.3435, 28.5207, 64.8139)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BD2 #D2D18A
analogous
#8AAFD2 #8A8BD2 #AD8AD2
triadic
#8A8BD2 #D28A8B #8BD28A
tetradic
#8A8BD2 #D28AAF #D2D18A #8AD2AD
square
#8A8BD2 #D28AAF #D2D18A #8AD2AD
split-complementary
#8A8BD2 #D2AD8A #AFD28A
monochromatic
#3F40A3 #5E5FC1 #8A8BD2 #B6B7E3 #E2E3F4

Accessibility & contrast

On white

3.13
#8A8BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8A8BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BD2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BD2#FFFFFF#000000##000000
##8A8BD21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7594D5
Deuteranopia (green-blind)
#728FD0
Tritanopia (blue-blind)
#7798A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a8bd2;
/* rgb */ color: rgb(138, 139, 210);
/* oklch */ color: oklch(66.4% 0.105 282.5);
Tailwind
colors: {
  custom: {
    50: '#aeace0',
    500: '#8a8bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bd2;
$custom-light: #aeace0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bd2",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 239.167,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66443,
    "c": 0.10466,
    "h": 282.5
  },
  "luminance": 0.28522
}

Semantic roles & 50–950 ramp

primary
#8A8BD2
secondary
#E7E7D1
accent
#B62EB8
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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