#8A8CD3#8A8CD3

#8A8CD3 is a light, moderate blue. Relative luminance 0.289; OKLCH L 66.7% C 0.105 H 281.9°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8A8CD3
RGBrgb(138, 140, 211)
HSLhsl(238, 45%, 68%)
HSVhsv(238, 35%, 83%)
CMYKcmyk(34.6%, 33.6%, 0%, 17.3%)
CIE-LABlab(60.66, 16.00, -36.68)
CIE-LCHlch(60.66, 40.02, 293.57°)
OKLaboklab(66.69% 0.0216 -0.1024)
OKLCHoklch(66.69% 0.105 281.9)
XYZxyz(31.6139, 28.8616, 65.5205)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CD3 #D3D18A
analogous
#8AB0D3 #8A8CD3 #AC8AD3
triadic
#8A8CD3 #D38A8C #8CD38A
tetradic
#8A8CD3 #D38AB0 #D3D18A #8AD3AC
square
#8A8CD3 #D38AB0 #D3D18A #8AD3AC
split-complementary
#8A8CD3 #D3AC8A #B0D38A
monochromatic
#3E41A5 #5E60C2 #8A8CD3 #B6B8E4 #E3E3F4

Accessibility & contrast

On white

3.10
#8A8CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#8A8CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CD3
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CD3#FFFFFF#000000##000000
##8A8CD31.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D6
Deuteranopia (green-blind)
#7390D1
Tritanopia (blue-blind)
#7699A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8cd3;
/* rgb */ color: rgb(138, 140, 211);
/* oklch */ color: oklch(66.7% 0.105 281.9);
Tailwind
colors: {
  custom: {
    50: '#aeade1',
    500: '#8a8cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cd3;
$custom-light: #aeade1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cd3",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 238.356,
    "s": 45.342,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.10467,
    "h": 281.9
  },
  "luminance": 0.28863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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