#8A8BC2#8A8BC2

#8A8BC2 is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.7% C 0.081 H 283.1°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A8BC2
RGBrgb(138, 139, 194)
HSLhsl(239, 31%, 65%)
HSVhsv(239, 29%, 76%)
CMYKcmyk(28.9%, 28.4%, 0%, 23.9%)
CIE-LABlab(59.67, 12.15, -28.65)
CIE-LCHlch(59.67, 31.12, 292.99°)
OKLaboklab(65.69% 0.0185 -0.0793)
OKLCHoklch(65.69% 0.081 283.1)
XYZxyz(29.4489, 27.7628, 54.8357)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BC2 #C2C18A
analogous
#8AA7C2 #8A8BC2 #A58AC2
triadic
#8A8BC2 #C28A8B #8BC28A
tetradic
#8A8BC2 #C28AA7 #C2C18A #8AC2A5
square
#8A8BC2 #C28AA7 #C2C18A #8AC2A5
split-complementary
#8A8BC2 #C2A58A #A7C28A
monochromatic
#48498A #6263AD #8A8BC2 #B2B3D7 #DADBEC

Accessibility & contrast

On white

3.20
#8A8BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#8A8BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BC2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BC2#FFFFFF#000000##000000
##8A8BC21.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C92C4
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#7C959E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8bc2;
/* rgb */ color: rgb(138, 139, 194);
/* oklch */ color: oklch(65.7% 0.081 283.1);
Tailwind
colors: {
  custom: {
    50: '#adacd4',
    500: '#8a8bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bc2;
$custom-light: #adacd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bc2",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 238.929,
    "s": 31.461,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65692,
    "c": 0.08145,
    "h": 283.1
  },
  "luminance": 0.27764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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