#8A8EBC#8A8EBC

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

Color values

HEX#8A8EBC
RGBrgb(138, 142, 188)
HSLhsl(235, 27%, 64%)
HSVhsv(235, 27%, 74%)
CMYKcmyk(26.6%, 24.5%, 0%, 26.3%)
CIE-LABlab(60.23, 8.91, -24.40)
CIE-LCHlch(60.23, 25.98, 290.07°)
OKLaboklab(66.04% 0.0124 -0.0672)
OKLCHoklch(66.04% 0.068 280.5)
XYZxyz(29.2290, 28.3794, 51.5050)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EBC #BCB88A
analogous
#8AA7BC #8A8EBC #9F8ABC
triadic
#8A8EBC #BC8A8E #8EBC8A
tetradic
#8A8EBC #BC8AA7 #BCB88A #8ABC9F
square
#8A8EBC #BC8AA7 #BCB88A #8ABC9F
split-complementary
#8A8EBC #BC9F8A #A7BC8A
monochromatic
#4A4F81 #6368A6 #8A8EBC #B1B4D2 #D8D9E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8EBC#FFFFFF#000000##000000
##8A8EBC1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8ebc;
/* rgb */ color: rgb(138, 142, 188);
/* oklch */ color: oklch(66.0% 0.068 280.5);
Tailwind
colors: {
  custom: {
    50: '#adafd0',
    500: '#8a8ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ebc;
$custom-light: #adafd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ebc",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 188
  },
  "hsl": {
    "h": 235.2,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.06839,
    "h": 280.5
  },
  "luminance": 0.2838
}

Semantic roles & 50–950 ramp

primary
#8A8EBC
secondary
#DAD8C8
accent
#9E40A6
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A8EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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