#8A8DD2#8A8DD2

#8A8DD2 is a light, moderate blue. Relative luminance 0.291; OKLCH L 66.8% C 0.102 H 281.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8A8DD2
RGBrgb(138, 141, 210)
HSLhsl(238, 44%, 68%)
HSVhsv(238, 34%, 82%)
CMYKcmyk(34.3%, 32.9%, 0%, 17.6%)
CIE-LABlab(60.87, 15.16, -35.78)
CIE-LCHlch(60.87, 38.86, 292.95°)
OKLaboklab(66.84% 0.02 -0.0998)
OKLCHoklch(66.84% 0.102 281.4)
XYZxyz(31.6357, 29.1051, 64.9113)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DD2 #D2CF8A
analogous
#8AB1D2 #8A8DD2 #AB8AD2
triadic
#8A8DD2 #D28A8D #8DD28A
tetradic
#8A8DD2 #D28AB1 #D2CF8A #8AD2AB
square
#8A8DD2 #D28AB1 #D2CF8A #8AD2AB
split-complementary
#8A8DD2 #D2AB8A #B1D28A
monochromatic
#3F43A3 #5E62C1 #8A8DD2 #B6B8E3 #E2E3F4

Accessibility & contrast

On white

3.08
#8A8DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8A8DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DD2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DD2#FFFFFF#000000##000000
##8A8DD21.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D5
Deuteranopia (green-blind)
#7490D0
Tritanopia (blue-blind)
#779AA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8dd2;
/* rgb */ color: rgb(138, 141, 210);
/* oklch */ color: oklch(66.8% 0.102 281.4);
Tailwind
colors: {
  custom: {
    50: '#aeaee0',
    500: '#8a8dd2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dd2;
$custom-light: #aeaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dd2",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 210
  },
  "hsl": {
    "h": 237.5,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.10181,
    "h": 281.4
  },
  "luminance": 0.29106
}

Semantic roles & 50–950 ramp

primary
#8A8DD2
secondary
#E7E6D1
accent
#B22EB8
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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