#8A8ABC#8A8ABC

#8A8ABC is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.2% C 0.074 H 284.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A8ABC
RGBrgb(138, 138, 188)
HSLhsl(240, 27%, 64%)
HSVhsv(240, 27%, 74%)
CMYKcmyk(26.6%, 26.6%, 0%, 26.3%)
CIE-LABlab(59.17, 11.22, -26.04)
CIE-LCHlch(59.17, 28.35, 293.32°)
OKLaboklab(65.22% 0.0181 -0.0719)
OKLCHoklch(65.22% 0.074 284.2)
XYZxyz(28.6445, 27.2105, 51.3102)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8ABC #BCBC8A
analogous
#8AA3BC #8A8ABC #A38ABC
triadic
#8A8ABC #BC8A8A #8ABC8A
tetradic
#8A8ABC #BC8AA3 #BCBC8A #8ABCA3
square
#8A8ABC #BC8AA3 #BCBC8A #8ABCA3
split-complementary
#8A8ABC #BCA38A #A3BC8A
monochromatic
#4A4A81 #6363A6 #8A8ABC #B1B1D2 #D8D8E9

Accessibility & contrast

On white

3.26
#8A8ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8A8ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8ABC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8ABC#FFFFFF#000000##000000
##8A8ABC1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C90BE
Deuteranopia (green-blind)
#7B8DBB
Tritanopia (blue-blind)
#7E939B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8abc;
/* rgb */ color: rgb(138, 138, 188);
/* oklch */ color: oklch(65.2% 0.074 284.2);
Tailwind
colors: {
  custom: {
    50: '#adacd0',
    500: '#8a8abc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8abc;
$custom-light: #adacd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8abc",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65221,
    "c": 0.07412,
    "h": 284.2
  },
  "luminance": 0.27211
}

Semantic roles & 50–950 ramp

primary
#8A8ABC
secondary
#DADAC8
accent
#A640A6
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A8ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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