#8A8EBA#8A8EBA

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

Color values

HEX#8A8EBA
RGBrgb(138, 142, 186)
HSLhsl(235, 26%, 64%)
HSVhsv(235, 26%, 73%)
CMYKcmyk(25.8%, 23.7%, 0%, 27.1%)
CIE-LABlab(60.15, 8.42, -23.39)
CIE-LCHlch(60.15, 24.86, 289.79°)
OKLaboklab(65.96% 0.0118 -0.0644)
OKLCHoklch(65.96% 0.065 280.4)
XYZxyz(29.0149, 28.2938, 50.3774)
Luminance0.2829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EBA #BAB68A
analogous
#8AA6BA #8A8EBA #9E8ABA
triadic
#8A8EBA #BA8A8E #8EBA8A
tetradic
#8A8EBA #BA8AA6 #BAB68A #8ABA9E
square
#8A8EBA #BA8AA6 #BAB68A #8ABA9E
split-complementary
#8A8EBA #BA9E8A #A6BA8A
monochromatic
#4B4F7F #6469A3 #8A8EBA #B0B3D1 #D7D8E7

Accessibility & contrast

On white

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

On black

6.66
#8A8EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EBA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EBA#FFFFFF#000000##000000
##8A8EBA1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BC
Deuteranopia (green-blind)
#808FB9
Tritanopia (blue-blind)
#7F969D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a8eba;
/* rgb */ color: rgb(138, 142, 186);
/* oklch */ color: oklch(66.0% 0.065 280.4);
Tailwind
colors: {
  custom: {
    50: '#adafcf',
    500: '#8a8eba',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eba;
$custom-light: #adafcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eba",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 186
  },
  "hsl": {
    "h": 235,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65959,
    "c": 0.06544,
    "h": 280.4
  },
  "luminance": 0.28294
}

Semantic roles & 50–950 ramp

primary
#8A8EBA
secondary
#D8D7C7
accent
#9C41A4
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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