#8A8FBC#8A8FBC

#8A8FBC is a light, moderate blue. Relative luminance 0.287; OKLCH L 66.3% C 0.067 H 279.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A8FBC
RGBrgb(138, 143, 188)
HSLhsl(234, 27%, 64%)
HSVhsv(234, 27%, 74%)
CMYKcmyk(26.6%, 23.9%, 0%, 26.3%)
CIE-LABlab(60.50, 8.34, -23.99)
CIE-LCHlch(60.50, 25.40, 289.16°)
OKLaboklab(66.25% 0.011 -0.0661)
OKLCHoklch(66.25% 0.067 279.5)
XYZxyz(29.3784, 28.6783, 51.5548)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FBC #BCB78A
analogous
#8AA8BC #8A8FBC #9E8ABC
triadic
#8A8FBC #BC8A8F #8FBC8A
tetradic
#8A8FBC #BC8AA8 #BCB78A #8ABC9E
square
#8A8FBC #BC8AA8 #BCB78A #8ABC9E
split-complementary
#8A8FBC #BC9E8A #A8BC8A
monochromatic
#4A5081 #636AA6 #8A8FBC #B1B4D2 #D8DAE9

Accessibility & contrast

On white

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

On black

6.74
#8A8FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FBC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FBC#FFFFFF#000000##000000
##8A8FBC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294BE
Deuteranopia (green-blind)
#8090BB
Tritanopia (blue-blind)
#7E979E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8fbc;
/* rgb */ color: rgb(138, 143, 188);
/* oklch */ color: oklch(66.3% 0.067 279.5);
Tailwind
colors: {
  custom: {
    50: '#adafd0',
    500: '#8a8fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fbc;
$custom-light: #adafd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fbc",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 188
  },
  "hsl": {
    "h": 234,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66251,
    "c": 0.067,
    "h": 279.5
  },
  "luminance": 0.28679
}

Semantic roles & 50–950 ramp

primary
#8A8FBC
secondary
#DAD8C8
accent
#9C40A6
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A8FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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