#8A8AC2#8A8AC2

#8A8AC2 is a light, moderate blue. Relative luminance 0.275; OKLCH L 65.5% C 0.083 H 283.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8A8AC2
RGBrgb(138, 138, 194)
HSLhsl(240, 31%, 65%)
HSVhsv(240, 29%, 76%)
CMYKcmyk(28.9%, 28.9%, 0%, 23.9%)
CIE-LABlab(59.41, 12.73, -29.06)
CIE-LCHlch(59.41, 31.72, 293.67°)
OKLaboklab(65.49% 0.0199 -0.0805)
OKLCHoklch(65.49% 0.083 283.9)
XYZxyz(29.3048, 27.4746, 54.7876)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AC2 #C2C28A
analogous
#8AA6C2 #8A8AC2 #A68AC2
triadic
#8A8AC2 #C28A8A #8AC28A
tetradic
#8A8AC2 #C28AA6 #C2C28A #8AC2A6
square
#8A8AC2 #C28AA6 #C2C28A #8AC2A6
split-complementary
#8A8AC2 #C2A68A #A6C28A
monochromatic
#48488A #6262AD #8A8AC2 #B2B2D7 #DADAEC

Accessibility & contrast

On white

3.23
#8A8AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8AC2#FFFFFF#000000##000000
##8A8AC21.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C4
Deuteranopia (green-blind)
#788DC1
Tritanopia (blue-blind)
#7C949E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8ac2;
/* rgb */ color: rgb(138, 138, 194);
/* oklch */ color: oklch(65.5% 0.083 283.9);
Tailwind
colors: {
  custom: {
    50: '#adacd4',
    500: '#8a8ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ac2;
$custom-light: #adacd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ac2",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 194
  },
  "hsl": {
    "h": 240,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65489,
    "c": 0.08291,
    "h": 283.9
  },
  "luminance": 0.27475
}

Semantic roles & 50–950 ramp

primary
#8A8AC2
secondary
#DDDDCA
accent
#AA3BAA
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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