#8A8AB7#8A8AB7

#8A8AB7 is a light, moderate blue. Relative luminance 0.270; OKLCH L 65.0% C 0.067 H 284.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A8AB7
RGBrgb(138, 138, 183)
HSLhsl(240, 24%, 63%)
HSVhsv(240, 25%, 72%)
CMYKcmyk(24.6%, 24.6%, 0%, 28.2%)
CIE-LABlab(58.97, 9.99, -23.50)
CIE-LCHlch(58.97, 25.53, 293.03°)
OKLaboklab(65.01% 0.0166 -0.0647)
OKLCHoklch(65.01% 0.067 284.4)
XYZxyz(28.1148, 26.9986, 48.5206)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AB7 #B7B78A
analogous
#8AA0B7 #8A8AB7 #A08AB7
triadic
#8A8AB7 #B78A8A #8AB78A
tetradic
#8A8AB7 #B78AA0 #B7B78A #8AB7A0
square
#8A8AB7 #B78AA0 #B7B78A #8AB7A0
split-complementary
#8A8AB7 #B7A08A #A0B78A
monochromatic
#4C4C7B #6464A0 #8A8AB7 #B0B0CE #D6D6E6

Accessibility & contrast

On white

3.28
#8A8AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8A8AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AB7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AB7#FFFFFF#000000##000000
##8A8AB71.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8FB9
Deuteranopia (green-blind)
#7D8DB6
Tritanopia (blue-blind)
#809299
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8ab7;
/* rgb */ color: rgb(138, 138, 183);
/* oklch */ color: oklch(65.0% 0.067 284.4);
Tailwind
colors: {
  custom: {
    50: '#adaccc',
    500: '#8a8ab7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ab7;
$custom-light: #adaccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ab7",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 183
  },
  "hsl": {
    "h": 240,
    "s": 23.81,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65005,
    "c": 0.06676,
    "h": 284.4
  },
  "luminance": 0.26999
}

Semantic roles & 50–950 ramp

primary
#8A8AB7
secondary
#D6D6C6
accent
#A243A2
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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