#8A8CA5#8A8CA5

#8A8CA5 is a light, muted blue. Relative luminance 0.269; OKLCH L 64.7% C 0.037 H 281.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A8CA5
RGBrgb(138, 140, 165)
HSLhsl(236, 13%, 59%)
HSVhsv(236, 16%, 65%)
CMYKcmyk(16.4%, 15.2%, 0%, 35.3%)
CIE-LABlab(58.86, 4.59, -13.42)
CIE-LCHlch(58.86, 14.18, 288.87°)
OKLaboklab(64.7% 0.0075 -0.0364)
OKLCHoklch(64.7% 0.037 281.7)
XYZxyz(26.6493, 26.8757, 39.3735)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CA5 #A5A38A
analogous
#8A9AA5 #8A8CA5 #968AA5
triadic
#8A8CA5 #A58A8C #8CA58A
tetradic
#8A8CA5 #A58A9A #A5A38A #8AA596
square
#8A8CA5 #A58A9A #A5A38A #8AA596
split-complementary
#8A8CA5 #A5968A #9AA58A
monochromatic
#4F5066 #696B89 #8A8CA5 #ADAEC0 #CFD0DA

Accessibility & contrast

On white

3.29
#8A8CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#8A8CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CA5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CA5#FFFFFF#000000##000000
##8A8CA51.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#868FA6
Deuteranopia (green-blind)
#858DA4
Tritanopia (blue-blind)
#849094
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8ca5;
/* rgb */ color: rgb(138, 140, 165);
/* oklch */ color: oklch(64.7% 0.037 281.7);
Tailwind
colors: {
  custom: {
    50: '#acadbf',
    500: '#8a8ca5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ca5;
$custom-light: #acadbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ca5",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 235.556,
    "s": 13.043,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64701,
    "c": 0.0372,
    "h": 281.7
  },
  "luminance": 0.26876
}

Semantic roles & 50–950 ramp

primary
#8A8CA5
secondary
#CBCAC0
accent
#B172B6
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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