#8A8DC0#8A8DC0

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

Color values

HEX#8A8DC0
RGBrgb(138, 141, 192)
HSLhsl(237, 30%, 65%)
HSVhsv(237, 28%, 75%)
CMYKcmyk(28.1%, 26.6%, 0%, 24.7%)
CIE-LABlab(60.12, 10.49, -26.83)
CIE-LCHlch(60.12, 28.81, 291.36°)
OKLaboklab(66.01% 0.0151 -0.0741)
OKLCHoklch(66.01% 0.076 281.5)
XYZxyz(29.5180, 28.2581, 53.7581)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DC0 #C0BD8A
analogous
#8AA8C0 #8A8DC0 #A28AC0
triadic
#8A8DC0 #C08A8D #8DC08A
tetradic
#8A8DC0 #C08AA8 #C0BD8A #8AC0A2
square
#8A8DC0 #C08AA8 #C0BD8A #8AC0A2
split-complementary
#8A8DC0 #C0A28A #A8C08A
monochromatic
#494C87 #6266AB #8A8DC0 #B2B4D5 #DADBEB

Accessibility & contrast

On white

3.16
#8A8DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8A8DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DC0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DC0#FFFFFF#000000##000000
##8A8DC01.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F93C2
Deuteranopia (green-blind)
#7C8FBF
Tritanopia (blue-blind)
#7D969F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a8dc0;
/* rgb */ color: rgb(138, 141, 192);
/* oklch */ color: oklch(66.0% 0.076 281.5);
Tailwind
colors: {
  custom: {
    50: '#adaed3',
    500: '#8a8dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dc0;
$custom-light: #adaed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dc0",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 192
  },
  "hsl": {
    "h": 236.667,
    "s": 30,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66012,
    "c": 0.07566,
    "h": 281.5
  },
  "luminance": 0.28259
}

Semantic roles & 50–950 ramp

primary
#8A8DC0
secondary
#DCDBCA
accent
#A33DA9
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A8DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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