#8A8EB7#8A8EB7

#8A8EB7 is a light, moderate blue. Relative luminance 0.282; OKLCH L 65.8% C 0.061 H 280.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8A8EB7
RGBrgb(138, 142, 183)
HSLhsl(235, 24%, 63%)
HSVhsv(235, 25%, 72%)
CMYKcmyk(24.6%, 22.4%, 0%, 28.2%)
CIE-LABlab(60.04, 7.68, -21.86)
CIE-LCHlch(60.04, 23.17, 289.36°)
OKLaboklab(65.83% 0.0108 -0.0601)
OKLCHoklch(65.83% 0.061 280.2)
XYZxyz(28.6993, 28.1675, 48.7154)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EB7 #B7B38A
analogous
#8AA4B7 #8A8EB7 #9C8AB7
triadic
#8A8EB7 #B78A8E #8EB78A
tetradic
#8A8EB7 #B78AA4 #B7B38A #8AB79C
square
#8A8EB7 #B78AA4 #B7B38A #8AB79C
split-complementary
#8A8EB7 #B79C8A #A4B78A
monochromatic
#4C507B #6469A0 #8A8EB7 #B0B3CE #D6D7E6

Accessibility & contrast

On white

3.17
#8A8EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8A8EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EB7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EB7#FFFFFF#000000##000000
##8A8EB71.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8392B9
Deuteranopia (green-blind)
#818FB6
Tritanopia (blue-blind)
#7F959C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a8eb7;
/* rgb */ color: rgb(138, 142, 183);
/* oklch */ color: oklch(65.8% 0.061 280.2);
Tailwind
colors: {
  custom: {
    50: '#adafcc',
    500: '#8a8eb7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eb7;
$custom-light: #adafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eb7",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 183
  },
  "hsl": {
    "h": 234.667,
    "s": 23.81,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65834,
    "c": 0.06103,
    "h": 280.2
  },
  "luminance": 0.28168
}

Semantic roles & 50–950 ramp

primary
#8A8EB7
secondary
#D6D5C6
accent
#9A43A2
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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