#8A8DCD#8A8DCD

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

Color values

HEX#8A8DCD
RGBrgb(138, 141, 205)
HSLhsl(237, 40%, 67%)
HSVhsv(237, 33%, 80%)
CMYKcmyk(32.7%, 31.2%, 0%, 19.6%)
CIE-LABlab(60.66, 13.84, -33.32)
CIE-LCHlch(60.66, 36.08, 292.55°)
OKLaboklab(66.6% 0.0188 -0.0927)
OKLCHoklch(66.6% 0.095 281.4)
XYZxyz(31.0225, 28.8599, 61.6818)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DCD #CDCA8A
analogous
#8AAFCD #8A8DCD #A88ACD
triadic
#8A8DCD #CD8A8D #8DCD8A
tetradic
#8A8DCD #CD8AAF #CDCA8A #8ACDA8
square
#8A8DCD #CD8AAF #CDCA8A #8ACDA8
split-complementary
#8A8DCD #CDA88A #AFCD8A
monochromatic
#42469B #5F63BB #8A8DCD #B5B7DF #E0E1F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8DCD#FFFFFF#000000##000000
##8A8DCD1.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)
#7A95D0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#7999A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8dcd;
/* rgb */ color: rgb(138, 141, 205);
/* oklch */ color: oklch(66.6% 0.095 281.4);
Tailwind
colors: {
  custom: {
    50: '#aeaedc',
    500: '#8a8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dcd;
$custom-light: #aeaedc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dcd",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 237.313,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66603,
    "c": 0.0946,
    "h": 281.4
  },
  "luminance": 0.28861
}

Semantic roles & 50–950 ramp

primary
#8A8DCD
secondary
#E4E3CF
accent
#AD32B3
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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