#8A8BD4#8A8BD4

#8A8BD4 is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.5% C 0.108 H 282.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A8BD4
RGBrgb(138, 139, 212)
HSLhsl(239, 46%, 69%)
HSVhsv(239, 35%, 83%)
CMYKcmyk(34.9%, 34.4%, 0%, 16.9%)
CIE-LABlab(60.45, 16.85, -37.57)
CIE-LCHlch(60.45, 41.18, 294.16°)
OKLaboklab(66.54% 0.0232 -0.105)
OKLCHoklch(66.54% 0.108 282.5)
XYZxyz(31.5942, 28.6210, 66.1343)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BD4 #D4D38A
analogous
#8AB0D4 #8A8BD4 #AE8AD4
triadic
#8A8BD4 #D48A8B #8BD48A
tetradic
#8A8BD4 #D48AB0 #D4D38A #8AD4AE
square
#8A8BD4 #D48AB0 #D4D38A #8AD4AE
split-complementary
#8A8BD4 #D4AE8A #B0D48A
monochromatic
#3D3FA6 #5D5FC4 #8A8BD4 #B7B7E4 #E4E4F5

Accessibility & contrast

On white

3.12
#8A8BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8A8BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BD4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BD4#FFFFFF#000000##000000
##8A8BD41.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D7
Deuteranopia (green-blind)
#718FD2
Tritanopia (blue-blind)
#7699A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8bd4;
/* rgb */ color: rgb(138, 139, 212);
/* oklch */ color: oklch(66.5% 0.108 282.5);
Tailwind
colors: {
  custom: {
    50: '#aeace1',
    500: '#8a8bd4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bd4;
$custom-light: #aeace1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bd4",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 212
  },
  "hsl": {
    "h": 239.189,
    "s": 46.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66541,
    "c": 0.10753,
    "h": 282.5
  },
  "luminance": 0.28622
}

Semantic roles & 50–950 ramp

primary
#8A8BD4
secondary
#E8E8D2
accent
#B82CB9
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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