#8A8BB4#8A8BB4

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

Color values

HEX#8A8BB4
RGBrgb(138, 139, 180)
HSLhsl(239, 22%, 62%)
HSVhsv(239, 23%, 71%)
CMYKcmyk(23.3%, 22.8%, 0%, 29.4%)
CIE-LABlab(59.13, 8.68, -21.56)
CIE-LCHlch(59.13, 23.24, 291.93°)
OKLaboklab(65.09% 0.0142 -0.0592)
OKLCHoklch(65.09% 0.061 283.5)
XYZxyz(27.9500, 27.1633, 46.9416)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BB4 #B4B38A
analogous
#8AA0B4 #8A8BB4 #9E8AB4
triadic
#8A8BB4 #B48A8B #8BB48A
tetradic
#8A8BB4 #B48AA0 #B4B38A #8AB49E
square
#8A8BB4 #B48AA0 #B4B38A #8AB49E
split-complementary
#8A8BB4 #B49E8A #A0B48A
monochromatic
#4C4D77 #65669C #8A8BB4 #AFB0CC #D5D5E4

Accessibility & contrast

On white

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

On black

6.43
#8A8BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BB4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BB4#FFFFFF#000000##000000
##8A8BB41.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8bb4;
/* rgb */ color: rgb(138, 139, 180);
/* oklch */ color: oklch(65.1% 0.061 283.5);
Tailwind
colors: {
  custom: {
    50: '#adacca',
    500: '#8a8bb4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bb4;
$custom-light: #adacca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bb4",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 238.571,
    "s": 21.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65085,
    "c": 0.06087,
    "h": 283.5
  },
  "luminance": 0.27164
}

Semantic roles & 50–950 ramp

primary
#8A8BB4
secondary
#D5D4C5
accent
#9E45A0
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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