#8A8CB9#8A8CB9

#8A8CB9 is a light, moderate blue. Relative luminance 0.277; OKLCH L 65.5% C 0.067 H 282.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A8CB9
RGBrgb(138, 140, 185)
HSLhsl(237, 25%, 63%)
HSVhsv(237, 25%, 73%)
CMYKcmyk(25.4%, 24.3%, 0%, 27.5%)
CIE-LABlab(59.58, 9.32, -23.70)
CIE-LCHlch(59.58, 25.47, 291.47°)
OKLaboklab(65.5% 0.0144 -0.0652)
OKLCHoklch(65.5% 0.067 282.4)
XYZxyz(28.6140, 27.6616, 49.7212)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CB9 #B9B78A
analogous
#8AA3B9 #8A8CB9 #9F8AB9
triadic
#8A8CB9 #B98A8C #8CB98A
tetradic
#8A8CB9 #B98AA3 #B9B78A #8AB99F
square
#8A8CB9 #B98AA3 #B9B78A #8AB99F
split-complementary
#8A8CB9 #B99F8A #A3B98A
monochromatic
#4B4D7E #6466A2 #8A8CB9 #B0B2D0 #D7D7E7

Accessibility & contrast

On white

3.21
#8A8CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8A8CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CB9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CB9#FFFFFF#000000##000000
##8A8CB91.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8091BB
Deuteranopia (green-blind)
#7E8EB8
Tritanopia (blue-blind)
#7F949B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8cb9;
/* rgb */ color: rgb(138, 140, 185);
/* oklch */ color: oklch(65.5% 0.067 282.4);
Tailwind
colors: {
  custom: {
    50: '#adadce',
    500: '#8a8cb9',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cb9;
$custom-light: #adadce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cb9",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 185
  },
  "hsl": {
    "h": 237.447,
    "s": 25.134,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65503,
    "c": 0.0668,
    "h": 282.4
  },
  "luminance": 0.27662
}

Semantic roles & 50–950 ramp

primary
#8A8CB9
secondary
#D8D7C7
accent
#9F42A4
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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