#8A8BB2#8A8BB2

#8A8BB2 is a light, muted blue. Relative luminance 0.271; OKLCH L 65.0% C 0.058 H 283.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A8BB2
RGBrgb(138, 139, 178)
HSLhsl(239, 21%, 62%)
HSVhsv(239, 22%, 70%)
CMYKcmyk(22.5%, 21.9%, 0%, 30.2%)
CIE-LABlab(59.05, 8.20, -20.54)
CIE-LCHlch(59.05, 22.11, 291.76°)
OKLaboklab(65% 0.0135 -0.0563)
OKLCHoklch(65% 0.058 283.5)
XYZxyz(27.7478, 27.0824, 45.8764)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BB2 #B2B18A
analogous
#8A9FB2 #8A8BB2 #9D8AB2
triadic
#8A8BB2 #B28A8B #8BB28A
tetradic
#8A8BB2 #B28A9F #B2B18A #8AB29D
square
#8A8BB2 #B28A9F #B2B18A #8AB29D
split-complementary
#8A8BB2 #B29D8A #9FB28A
monochromatic
#4D4E75 #65669A #8A8BB2 #AFB0CA #D4D4E3

Accessibility & contrast

On white

3.27
#8A8BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8A8BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BB2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BB2#FFFFFF#000000##000000
##8A8BB21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#818FB4
Deuteranopia (green-blind)
#808DB1
Tritanopia (blue-blind)
#819298
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8bb2;
/* rgb */ color: rgb(138, 139, 178);
/* oklch */ color: oklch(65.0% 0.058 283.5);
Tailwind
colors: {
  custom: {
    50: '#acacc9',
    500: '#8a8bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bb2;
$custom-light: #acacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bb2",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 178
  },
  "hsl": {
    "h": 238.5,
    "s": 20.619,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65003,
    "c": 0.05791,
    "h": 283.5
  },
  "luminance": 0.27083
}

Semantic roles & 50–950 ramp

primary
#8A8BB2
secondary
#D3D3C5
accent
#9D479F
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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