#8A8FCC#8A8FCC

#8A8FCC is a light, moderate blue. Relative luminance 0.294; OKLCH L 67.0% C 0.090 H 280.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A8FCC
RGBrgb(138, 143, 204)
HSLhsl(235, 39%, 67%)
HSVhsv(235, 32%, 80%)
CMYKcmyk(32.4%, 29.9%, 0%, 20%)
CIE-LABlab(61.14, 12.42, -32.01)
CIE-LCHlch(61.14, 34.33, 291.20°)
OKLaboklab(66.96% 0.0158 -0.089)
OKLCHoklch(66.96% 0.09 280)
XYZxyz(31.1998, 29.4069, 61.1473)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FCC #CCC78A
analogous
#8AB0CC #8A8FCC #A68ACC
triadic
#8A8FCC #CC8A8F #8FCC8A
tetradic
#8A8FCC #CC8AB0 #CCC78A #8ACCA6
square
#8A8FCC #CC8AB0 #CCC78A #8ACCA6
split-complementary
#8A8FCC #CCA68A #B0CC8A
monochromatic
#434999 #5F66B9 #8A8FCC #B5B8DF #DFE1F1

Accessibility & contrast

On white

3.05
#8A8FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8A8FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FCC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FCC#FFFFFF#000000##000000
##8A8FCC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CF
Deuteranopia (green-blind)
#7991CA
Tritanopia (blue-blind)
#799AA5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8fcc;
/* rgb */ color: rgb(138, 143, 204);
/* oklch */ color: oklch(67.0% 0.090 280.0);
Tailwind
colors: {
  custom: {
    50: '#aeafdb',
    500: '#8a8fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fcc;
$custom-light: #aeafdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fcc",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 204
  },
  "hsl": {
    "h": 235.455,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66961,
    "c": 0.09034,
    "h": 280
  },
  "luminance": 0.29408
}

Semantic roles & 50–950 ramp

primary
#8A8FCC
secondary
#E3E2CE
accent
#A933B2
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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