#8A8ABB#8A8ABB

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

Color values

HEX#8A8ABB
RGBrgb(138, 138, 187)
HSLhsl(240, 26%, 64%)
HSVhsv(240, 26%, 73%)
CMYKcmyk(26.2%, 26.2%, 0%, 26.7%)
CIE-LABlab(59.13, 10.97, -25.53)
CIE-LCHlch(59.13, 27.79, 293.26°)
OKLaboklab(65.18% 0.0178 -0.0704)
OKLCHoklch(65.18% 0.073 284.2)
XYZxyz(28.5371, 27.1675, 50.7444)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8ABB #BBBB8A
analogous
#8AA2BB #8A8ABB #A28ABB
triadic
#8A8ABB #BB8A8A #8ABB8A
tetradic
#8A8ABB #BB8AA2 #BBBB8A #8ABBA2
square
#8A8ABB #BB8AA2 #BBBB8A #8ABBA2
split-complementary
#8A8ABB #BBA28A #A2BB8A
monochromatic
#4A4A80 #6363A5 #8A8ABB #B1B1D1 #D7D7E8

Accessibility & contrast

On white

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

On black

6.43
#8A8ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8ABB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8ABB#FFFFFF#000000##000000
##8A8ABB1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D90BD
Deuteranopia (green-blind)
#7B8DBA
Tritanopia (blue-blind)
#7F939B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a8abb;
/* rgb */ color: rgb(138, 138, 187);
/* oklch */ color: oklch(65.2% 0.073 284.2);
Tailwind
colors: {
  custom: {
    50: '#adaccf',
    500: '#8a8abb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8abb;
$custom-light: #adaccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8abb",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 26.486,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65177,
    "c": 0.07265,
    "h": 284.2
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

primary
#8A8ABB
secondary
#D9D9C8
accent
#A540A5
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A8ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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