#8A8BB7#8A8BB7

#8A8BB7 is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.2% C 0.065 H 283.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A8BB7
RGBrgb(138, 139, 183)
HSLhsl(239, 24%, 63%)
HSVhsv(239, 25%, 72%)
CMYKcmyk(24.6%, 24%, 0%, 28.2%)
CIE-LABlab(59.24, 9.41, -23.09)
CIE-LCHlch(59.24, 24.94, 292.17°)
OKLaboklab(65.21% 0.0152 -0.0635)
OKLCHoklch(65.21% 0.065 283.4)
XYZxyz(28.2590, 27.2868, 48.5686)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BB7 #B7B68A
analogous
#8AA1B7 #8A8BB7 #9F8AB7
triadic
#8A8BB7 #B78A8B #8BB78A
tetradic
#8A8BB7 #B78AA1 #B7B68A #8AB79F
square
#8A8BB7 #B78AA1 #B7B68A #8AB79F
split-complementary
#8A8BB7 #B79F8A #A1B78A
monochromatic
#4C4D7B #6465A0 #8A8BB7 #B0B1CE #D6D6E6

Accessibility & contrast

On white

3.25
#8A8BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8A8BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BB7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BB7#FFFFFF#000000##000000
##8A8BB71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F90B9
Deuteranopia (green-blind)
#7E8DB6
Tritanopia (blue-blind)
#80939A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a8bb7;
/* rgb */ color: rgb(138, 139, 183);
/* oklch */ color: oklch(65.2% 0.065 283.4);
Tailwind
colors: {
  custom: {
    50: '#adaccc',
    500: '#8a8bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bb7;
$custom-light: #adaccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bb7",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 183
  },
  "hsl": {
    "h": 238.667,
    "s": 23.81,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65211,
    "c": 0.0653,
    "h": 283.4
  },
  "luminance": 0.27287
}

Semantic roles & 50–950 ramp

primary
#8A8BB7
secondary
#D6D6C6
accent
#A043A2
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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