#8A87AF#8A87AF

#8A87AF is a light, muted blue. Relative luminance 0.258; OKLCH L 64.0% C 0.059 H 288.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A87AF
RGBrgb(138, 135, 175)
HSLhsl(245, 20%, 61%)
HSVhsv(245, 23%, 69%)
CMYKcmyk(21.1%, 22.9%, 0%, 31.4%)
CIE-LABlab(57.87, 9.79, -20.63)
CIE-LCHlch(57.87, 22.84, 295.38°)
OKLaboklab(64.05% 0.0184 -0.0565)
OKLCHoklch(64.05% 0.059 288)
XYZxyz(26.8812, 25.8260, 44.1178)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87AF #ACAF87
analogous
#8798AF #8A87AF #9E87AF
triadic
#8A87AF #AF8A87 #87AF8A
tetradic
#8A87AF #AF8798 #ACAF87 #87AF9E
square
#8A87AF #AF8798 #ACAF87 #87AF9E
split-complementary
#8A87AF #AF9E87 #98AF87
monochromatic
#4E4B71 #676495 #8A87AF #AEACC7 #D2D0E0

Accessibility & contrast

On white

3.41
#8A87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8A87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87AF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87AF#FFFFFF#000000##000000
##8A87AF1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB1
Deuteranopia (green-blind)
#7D8AAE
Tritanopia (blue-blind)
#828E95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a87af;
/* rgb */ color: rgb(138, 135, 175);
/* oklch */ color: oklch(64.0% 0.059 288.0);
Tailwind
colors: {
  custom: {
    50: '#aca9c7',
    500: '#8a87af',
    950: '#000000',
  },
}
SCSS
$custom: #8a87af;
$custom-light: #aca9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87af",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 244.5,
    "s": 20,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.05947,
    "h": 288
  },
  "luminance": 0.25826
}

Semantic roles & 50–950 ramp

primary
#8A87AF
secondary
#CFD0C1
accent
#9E4798
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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