#8A8DB2#8A8DB2

#8A8DB2 is a light, muted blue. Relative luminance 0.277; OKLCH L 65.4% C 0.055 H 281.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8A8DB2
RGBrgb(138, 141, 178)
HSLhsl(236, 21%, 62%)
HSVhsv(236, 22%, 70%)
CMYKcmyk(22.5%, 20.8%, 0%, 30.2%)
CIE-LABlab(59.59, 7.05, -19.72)
CIE-LCHlch(59.59, 20.94, 289.66°)
OKLaboklab(65.42% 0.0106 -0.054)
OKLCHoklch(65.42% 0.055 281.1)
XYZxyz(28.0400, 27.6668, 45.9738)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DB2 #B2AF8A
analogous
#8AA1B2 #8A8DB2 #9B8AB2
triadic
#8A8DB2 #B28A8D #8DB28A
tetradic
#8A8DB2 #B28AA1 #B2AF8A #8AB29B
square
#8A8DB2 #B28AA1 #B2AF8A #8AB29B
split-complementary
#8A8DB2 #B29B8A #A1B28A
monochromatic
#4D5075 #65699A #8A8DB2 #AFB1CA #D4D5E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8DB2#FFFFFF#000000##000000
##8A8DB21.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)
#8391B4
Deuteranopia (green-blind)
#818EB1
Tritanopia (blue-blind)
#819399
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8db2;
/* rgb */ color: rgb(138, 141, 178);
/* oklch */ color: oklch(65.4% 0.055 281.1);
Tailwind
colors: {
  custom: {
    50: '#acaec9',
    500: '#8a8db2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8db2;
$custom-light: #acaec9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8db2",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 178
  },
  "hsl": {
    "h": 235.5,
    "s": 20.619,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6542,
    "c": 0.05505,
    "h": 281.1
  },
  "luminance": 0.27667
}

Semantic roles & 50–950 ramp

primary
#8A8DB2
secondary
#D3D2C5
accent
#98479F
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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