#8A8FB2#8A8FB2

#8A8FB2 is a light, muted blue. Relative luminance 0.283; OKLCH L 65.8% C 0.052 H 278.5°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A8FB2
RGBrgb(138, 143, 178)
HSLhsl(233, 21%, 62%)
HSVhsv(233, 22%, 70%)
CMYKcmyk(22.5%, 19.7%, 0%, 30.2%)
CIE-LABlab(60.12, 5.90, -18.90)
CIE-LCHlch(60.12, 19.80, 287.34°)
OKLaboklab(65.84% 0.0077 -0.0517)
OKLCHoklch(65.84% 0.052 278.5)
XYZxyz(28.3376, 28.2620, 46.0730)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FB2 #B2AD8A
analogous
#8AA3B2 #8A8FB2 #998AB2
triadic
#8A8FB2 #B28A8F #8FB28A
tetradic
#8A8FB2 #B28AA3 #B2AD8A #8AB299
square
#8A8FB2 #B28AA3 #B2AD8A #8AB299
split-complementary
#8A8FB2 #B2998A #A3B28A
monochromatic
#4D5275 #656C9A #8A8FB2 #AFB2CA #D4D6E3

Accessibility & contrast

On white

3.16
#8A8FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#8A8FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FB2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FB2#FFFFFF#000000##000000
##8A8FB21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8692B4
Deuteranopia (green-blind)
#8390B1
Tritanopia (blue-blind)
#81959B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a8fb2;
/* rgb */ color: rgb(138, 143, 178);
/* oklch */ color: oklch(65.8% 0.052 278.5);
Tailwind
colors: {
  custom: {
    50: '#acafc9',
    500: '#8a8fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fb2;
$custom-light: #acafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fb2",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 232.5,
    "s": 20.619,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65839,
    "c": 0.0523,
    "h": 278.5
  },
  "luminance": 0.28263
}

Semantic roles & 50–950 ramp

primary
#8A8FB2
secondary
#D3D1C5
accent
#94479F
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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