#8A8EA4#8A8EA4

#8A8EA4 is a light, muted blue. Relative luminance 0.274; OKLCH L 65.1% C 0.033 H 277.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8A8EA4
RGBrgb(138, 142, 164)
HSLhsl(231, 13%, 59%)
HSVhsv(231, 16%, 64%)
CMYKcmyk(15.9%, 13.4%, 0%, 35.7%)
CIE-LABlab(59.37, 3.22, -12.08)
CIE-LCHlch(59.37, 12.50, 284.92°)
OKLaboklab(65.09% 0.0042 -0.0327)
OKLCHoklch(65.09% 0.033 277.3)
XYZxyz(26.8535, 27.4292, 38.9944)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EA4 #A4A08A
analogous
#8A9BA4 #8A8EA4 #938AA4
triadic
#8A8EA4 #A48A8E #8EA48A
tetradic
#8A8EA4 #A48A9B #A4A08A #8AA493
square
#8A8EA4 #A48A9B #A4A08A #8AA493
split-complementary
#8A8EA4 #A4938A #9BA48A
monochromatic
#4F5265 #696E87 #8A8EA4 #ACAFBF #CFD0DA

Accessibility & contrast

On white

3.24
#8A8EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#8A8EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EA4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EA4#FFFFFF#000000##000000
##8A8EA41.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8890A5
Deuteranopia (green-blind)
#878EA3
Tritanopia (blue-blind)
#849295
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8ea4;
/* rgb */ color: rgb(138, 142, 164);
/* oklch */ color: oklch(65.1% 0.033 277.3);
Tailwind
colors: {
  custom: {
    50: '#acafbf',
    500: '#8a8ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ea4;
$custom-light: #acafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ea4",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 164
  },
  "hsl": {
    "h": 230.769,
    "s": 12.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65089,
    "c": 0.03301,
    "h": 277.3
  },
  "luminance": 0.2743
}

Semantic roles & 50–950 ramp

primary
#8A8EA4
secondary
#CAC8C0
accent
#AB72B5
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A8EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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