#8A8DDC#8A8DDC

#8A8DDC is a light, moderate blue. Relative luminance 0.296; OKLCH L 67.3% C 0.116 H 281.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A8DDC
RGBrgb(138, 141, 220)
HSLhsl(238, 54%, 70%)
HSVhsv(238, 37%, 86%)
CMYKcmyk(37.3%, 35.9%, 0%, 13.7%)
CIE-LABlab(61.32, 17.85, -40.67)
CIE-LCHlch(61.32, 44.41, 293.69°)
OKLaboklab(67.33% 0.0224 -0.1139)
OKLCHoklch(67.33% 0.116 281.1)
XYZxyz(32.9207, 29.6191, 71.6788)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DDC #DCD98A
analogous
#8AB6DC #8A8DDC #B08ADC
triadic
#8A8DDC #DC8A8D #8DDC8A
tetradic
#8A8DDC #DC8AB6 #DCD98A #8ADCB0
square
#8A8DDC #DC8AB6 #DCD98A #8ADCB0
split-complementary
#8A8DDC #DCB08A #B6DC8A
monochromatic
#363BB5 #5B5FCE #8A8DDC #B9BBEA #E7E8F8

Accessibility & contrast

On white

3.03
#8A8DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8A8DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DDC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DDC#FFFFFF#000000##000000
##8A8DDC1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#6F91DA
Tritanopia (blue-blind)
#739CAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8ddc;
/* rgb */ color: rgb(138, 141, 220);
/* oklch */ color: oklch(67.3% 0.116 281.1);
Tailwind
colors: {
  custom: {
    50: '#afaee7',
    500: '#8a8ddc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ddc;
$custom-light: #afaee7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ddc",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 220
  },
  "hsl": {
    "h": 237.805,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67335,
    "c": 0.11613,
    "h": 281.1
  },
  "luminance": 0.2962
}

Semantic roles & 50–950 ramp

primary
#8A8DDC
secondary
#ECEBD6
accent
#BC24C1
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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