#8A8DCC#8A8DCC

#8A8DCC is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.6% C 0.093 H 281.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A8DCC
RGBrgb(138, 141, 204)
HSLhsl(237, 39%, 67%)
HSVhsv(237, 32%, 80%)
CMYKcmyk(32.4%, 30.9%, 0%, 20%)
CIE-LABlab(60.62, 13.57, -32.82)
CIE-LCHlch(60.62, 35.52, 292.47°)
OKLaboklab(66.56% 0.0185 -0.0913)
OKLCHoklch(66.56% 0.093 281.4)
XYZxyz(30.9022, 28.8117, 61.0481)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DCC #CCC98A
analogous
#8AAECC #8A8DCC #A88ACC
triadic
#8A8DCC #CC8A8D #8DCC8A
tetradic
#8A8DCC #CC8AAE #CCC98A #8ACCA8
square
#8A8DCC #CC8AAE #CCC98A #8ACCA8
split-complementary
#8A8DCC #CCA88A #AECC8A
monochromatic
#434799 #5F63B9 #8A8DCC #B5B7DF #DFE0F1

Accessibility & contrast

On white

3.11
#8A8DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#8A8DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DCC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DCC#FFFFFF#000000##000000
##8A8DCC1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95CF
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#7999A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8dcc;
/* rgb */ color: rgb(138, 141, 204);
/* oklch */ color: oklch(66.6% 0.093 281.4);
Tailwind
colors: {
  custom: {
    50: '#aeaedb',
    500: '#8a8dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dcc;
$custom-light: #aeaedb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dcc",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 204
  },
  "hsl": {
    "h": 237.273,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66556,
    "c": 0.09315,
    "h": 281.4
  },
  "luminance": 0.28813
}

Semantic roles & 50–950 ramp

primary
#8A8DCC
secondary
#E3E2CE
accent
#AC33B2
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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