#8A8CDC#8A8CDC

#8A8CDC is a light, moderate blue. Relative luminance 0.293; OKLCH L 67.1% C 0.118 H 281.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A8CDC
RGBrgb(138, 140, 220)
HSLhsl(239, 54%, 70%)
HSVhsv(239, 37%, 86%)
CMYKcmyk(37.3%, 36.4%, 0%, 13.7%)
CIE-LABlab(61.07, 18.43, -41.07)
CIE-LCHlch(61.07, 45.01, 294.17°)
OKLaboklab(67.14% 0.0237 -0.1151)
OKLCHoklch(67.14% 0.118 281.7)
XYZxyz(32.7739, 29.3256, 71.6298)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CDC #DCDA8A
analogous
#8AB5DC #8A8CDC #B18ADC
triadic
#8A8CDC #DC8A8C #8CDC8A
tetradic
#8A8CDC #DC8AB5 #DCDA8A #8ADCB1
square
#8A8CDC #DC8AB5 #DCDA8A #8ADCB1
split-complementary
#8A8CDC #DCB18A #B5DC8A
monochromatic
#3639B5 #5B5ECE #8A8CDC #B9BAEA #E7E8F8

Accessibility & contrast

On white

3.06
#8A8CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8A8CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CDC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CDC#FFFFFF#000000##000000
##8A8CDC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#6E91DA
Tritanopia (blue-blind)
#739BAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8cdc;
/* rgb */ color: rgb(138, 140, 220);
/* oklch */ color: oklch(67.1% 0.118 281.7);
Tailwind
colors: {
  custom: {
    50: '#afade7',
    500: '#8a8cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cdc;
$custom-light: #afade7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cdc",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 238.537,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67139,
    "c": 0.11753,
    "h": 281.7
  },
  "luminance": 0.29327
}

Semantic roles & 50–950 ramp

primary
#8A8CDC
secondary
#ECECD6
accent
#BE24C1
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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