#8A8DDD#8A8DDD

#8A8DDD is a light, moderate blue. Relative luminance 0.297; OKLCH L 67.4% C 0.118 H 281.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A8DDD
RGBrgb(138, 141, 221)
HSLhsl(238, 55%, 70%)
HSVhsv(238, 38%, 87%)
CMYKcmyk(37.6%, 36.2%, 0%, 13.3%)
CIE-LABlab(61.37, 18.12, -41.15)
CIE-LCHlch(61.37, 44.96, 293.76°)
OKLaboklab(67.39% 0.0227 -0.1153)
OKLCHoklch(67.39% 0.118 281.1)
XYZxyz(33.0535, 29.6723, 72.3783)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DDD #DDDA8A
analogous
#8AB7DD #8A8DDD #B08ADD
triadic
#8A8DDD #DD8A8D #8DDD8A
tetradic
#8A8DDD #DD8AB7 #DDDA8A #8ADDB0
square
#8A8DDD #DD8AB7 #DDDA8A #8ADDB0
split-complementary
#8A8DDD #DDB08A #B7DD8A
monochromatic
#353AB7 #5B5FCF #8A8DDD #B9BBEB #E7E8F8

Accessibility & contrast

On white

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

On black

6.93
#8A8DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DDD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DDD#FFFFFF#000000##000000
##8A8DDD1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397E0
Deuteranopia (green-blind)
#6F91DB
Tritanopia (blue-blind)
#729CAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8ddd;
/* rgb */ color: rgb(138, 141, 221);
/* oklch */ color: oklch(67.4% 0.118 281.1);
Tailwind
colors: {
  custom: {
    50: '#afaee8',
    500: '#8a8ddd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ddd;
$custom-light: #afaee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ddd",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 237.831,
    "s": 54.967,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67386,
    "c": 0.11755,
    "h": 281.1
  },
  "luminance": 0.29673
}

Semantic roles & 50–950 ramp

primary
#8A8DDD
secondary
#EDECD6
accent
#BD23C2
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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