#8A8BB6#8A8BB6

#8A8BB6 is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.2% C 0.064 H 283.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A8BB6
RGBrgb(138, 139, 182)
HSLhsl(239, 23%, 63%)
HSVhsv(239, 24%, 71%)
CMYKcmyk(24.2%, 23.6%, 0%, 28.6%)
CIE-LABlab(59.20, 9.16, -22.58)
CIE-LCHlch(59.20, 24.37, 292.09°)
OKLaboklab(65.17% 0.0148 -0.0621)
OKLCHoklch(65.17% 0.064 283.4)
XYZxyz(28.1552, 27.2454, 48.0224)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BB6 #B6B58A
analogous
#8AA1B6 #8A8BB6 #9F8AB6
triadic
#8A8BB6 #B68A8B #8BB68A
tetradic
#8A8BB6 #B68AA1 #B6B58A #8AB69F
square
#8A8BB6 #B68AA1 #B6B58A #8AB69F
split-complementary
#8A8BB6 #B69F8A #A1B68A
monochromatic
#4C4D7A #64669E #8A8BB6 #B0B0CE #D5D6E5

Accessibility & contrast

On white

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

On black

6.45
#8A8BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BB6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BB6#FFFFFF#000000##000000
##8A8BB61.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8090B8
Deuteranopia (green-blind)
#7E8DB5
Tritanopia (blue-blind)
#80929A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8bb6;
/* rgb */ color: rgb(138, 139, 182);
/* oklch */ color: oklch(65.2% 0.064 283.4);
Tailwind
colors: {
  custom: {
    50: '#adaccc',
    500: '#8a8bb6',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bb6;
$custom-light: #adaccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bb6",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 182
  },
  "hsl": {
    "h": 238.636,
    "s": 23.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65169,
    "c": 0.06383,
    "h": 283.4
  },
  "luminance": 0.27246
}

Semantic roles & 50–950 ramp

primary
#8A8BB6
secondary
#D6D5C6
accent
#9F44A2
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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