#8A8CA2#8A8CA2

#8A8CA2 is a light, muted blue. Relative luminance 0.268; OKLCH L 64.6% C 0.033 H 281.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8A8CA2
RGBrgb(138, 140, 162)
HSLhsl(235, 11%, 59%)
HSVhsv(235, 15%, 64%)
CMYKcmyk(14.8%, 13.6%, 0%, 36.5%)
CIE-LABlab(58.76, 3.91, -11.86)
CIE-LCHlch(58.76, 12.49, 288.25°)
OKLaboklab(64.59% 0.0064 -0.0321)
OKLCHoklch(64.59% 0.033 281.3)
XYZxyz(26.3795, 26.7678, 37.9523)
Luminance0.2677 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CA2 #A2A08A
analogous
#8A98A2 #8A8CA2 #948AA2
triadic
#8A8CA2 #A28A8C #8CA28A
tetradic
#8A8CA2 #A28A98 #A2A08A #8AA294
square
#8A8CA2 #A28A98 #A2A08A #8AA294
split-complementary
#8A8CA2 #A2948A #98A28A
monochromatic
#4F5063 #6A6C85 #8A8CA2 #ACAEBD #CECFD8

Accessibility & contrast

On white

3.31
#8A8CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8A8CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CA2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CA2#FFFFFF#000000##000000
##8A8CA21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA3
Deuteranopia (green-blind)
#868DA1
Tritanopia (blue-blind)
#859093
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a8ca2;
/* rgb */ color: rgb(138, 140, 162);
/* oklch */ color: oklch(64.6% 0.033 281.3);
Tailwind
colors: {
  custom: {
    50: '#acadbd',
    500: '#8a8ca2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ca2;
$custom-light: #acadbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ca2",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 235,
    "s": 11.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64589,
    "c": 0.03275,
    "h": 281.3
  },
  "luminance": 0.26768
}

Semantic roles & 50–950 ramp

primary
#8A8CA2
secondary
#C9C8BF
accent
#AF73B4
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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