#8A8EBD#8A8EBD

#8A8EBD is a light, moderate blue. Relative luminance 0.284; OKLCH L 66.1% C 0.070 H 280.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8A8EBD
RGBrgb(138, 142, 189)
HSLhsl(235, 28%, 64%)
HSVhsv(235, 27%, 74%)
CMYKcmyk(27%, 24.9%, 0%, 25.9%)
CIE-LABlab(60.27, 9.16, -24.91)
CIE-LCHlch(60.27, 26.54, 290.19°)
OKLaboklab(66.09% 0.0127 -0.0687)
OKLCHoklch(66.09% 0.07 280.5)
XYZxyz(29.3371, 28.4227, 52.0747)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EBD #BDB98A
analogous
#8AA8BD #8A8EBD #A08ABD
triadic
#8A8EBD #BD8A8E #8EBD8A
tetradic
#8A8EBD #BD8AA8 #BDB98A #8ABDA0
square
#8A8EBD #BD8AA8 #BDB98A #8ABDA0
split-complementary
#8A8EBD #BDA08A #A8BD8A
monochromatic
#4A4E83 #6368A7 #8A8EBD #B1B4D3 #D8DAE9

Accessibility & contrast

On white

3.14
#8A8EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8A8EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EBD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EBD#FFFFFF#000000##000000
##8A8EBD1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BF
Deuteranopia (green-blind)
#7E90BC
Tritanopia (blue-blind)
#7E969E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a8ebd;
/* rgb */ color: rgb(138, 142, 189);
/* oklch */ color: oklch(66.1% 0.070 280.5);
Tailwind
colors: {
  custom: {
    50: '#adafd1',
    500: '#8a8ebd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ebd;
$custom-light: #adafd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ebd",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 189
  },
  "hsl": {
    "h": 235.294,
    "s": 27.869,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66087,
    "c": 0.06985,
    "h": 280.5
  },
  "luminance": 0.28423
}

Semantic roles & 50–950 ramp

primary
#8A8EBD
secondary
#DAD9C9
accent
#9E3FA6
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A8EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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