#8A8BB5#8A8BB5

#8A8BB5 is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.1% C 0.062 H 283.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A8BB5
RGBrgb(138, 139, 181)
HSLhsl(239, 23%, 63%)
HSVhsv(239, 24%, 71%)
CMYKcmyk(23.8%, 23.2%, 0%, 29%)
CIE-LABlab(59.16, 8.92, -22.07)
CIE-LCHlch(59.16, 23.81, 292.01°)
OKLaboklab(65.13% 0.0145 -0.0606)
OKLCHoklch(65.13% 0.062 283.5)
XYZxyz(28.0523, 27.2042, 47.4801)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BB5 #B5B48A
analogous
#8AA0B5 #8A8BB5 #9F8AB5
triadic
#8A8BB5 #B58A8B #8BB58A
tetradic
#8A8BB5 #B58AA0 #B5B48A #8AB59F
square
#8A8BB5 #B58AA0 #B5B48A #8AB59F
split-complementary
#8A8BB5 #B59F8A #A0B58A
monochromatic
#4C4D78 #65669D #8A8BB5 #AFB0CD #D5D5E4

Accessibility & contrast

On white

3.26
#8A8BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8A8BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BB5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BB5#FFFFFF#000000##000000
##8A8BB51.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B7
Deuteranopia (green-blind)
#7E8DB4
Tritanopia (blue-blind)
#809299
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8bb5;
/* rgb */ color: rgb(138, 139, 181);
/* oklch */ color: oklch(65.1% 0.062 283.5);
Tailwind
colors: {
  custom: {
    50: '#adaccb',
    500: '#8a8bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bb5;
$custom-light: #adaccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bb5",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 181
  },
  "hsl": {
    "h": 238.605,
    "s": 22.513,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65127,
    "c": 0.06235,
    "h": 283.5
  },
  "luminance": 0.27205
}

Semantic roles & 50–950 ramp

primary
#8A8BB5
secondary
#D5D5C6
accent
#9F45A1
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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