#8A8DC2#8A8DC2

#8A8DC2 is a light, moderate blue. Relative luminance 0.283; OKLCH L 66.1% C 0.079 H 281.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A8DC2
RGBrgb(138, 141, 194)
HSLhsl(237, 31%, 65%)
HSVhsv(237, 29%, 76%)
CMYKcmyk(28.9%, 27.3%, 0%, 23.9%)
CIE-LABlab(60.20, 11.00, -27.84)
CIE-LCHlch(60.20, 29.93, 291.56°)
OKLaboklab(66.1% 0.0157 -0.077)
OKLCHoklch(66.1% 0.079 281.5)
XYZxyz(29.7411, 28.3473, 54.9331)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DC2 #C2BF8A
analogous
#8AA9C2 #8A8DC2 #A38AC2
triadic
#8A8DC2 #C28A8D #8DC28A
tetradic
#8A8DC2 #C28AA9 #C2BF8A #8AC2A3
square
#8A8DC2 #C28AA9 #C2BF8A #8AC2A3
split-complementary
#8A8DC2 #C2A38A #A9C28A
monochromatic
#484B8A #6266AD #8A8DC2 #B2B4D7 #DADBEC

Accessibility & contrast

On white

3.15
#8A8DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8A8DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DC2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DC2#FFFFFF#000000##000000
##8A8DC21.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C4
Deuteranopia (green-blind)
#7B8FC1
Tritanopia (blue-blind)
#7C97A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a8dc2;
/* rgb */ color: rgb(138, 141, 194);
/* oklch */ color: oklch(66.1% 0.079 281.5);
Tailwind
colors: {
  custom: {
    50: '#adaed4',
    500: '#8a8dc2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dc2;
$custom-light: #adaed4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dc2",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 236.786,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.661,
    "c": 0.07859,
    "h": 281.5
  },
  "luminance": 0.28348
}

Semantic roles & 50–950 ramp

primary
#8A8DC2
secondary
#DDDCCA
accent
#A43BAA
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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