#8A96CB#8A96CB

#8A96CB is a light, moderate blue. Relative luminance 0.315; OKLCH L 68.4% C 0.080 H 274.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A96CB
RGBrgb(138, 150, 203)
HSLhsl(229, 38%, 67%)
HSVhsv(229, 32%, 80%)
CMYKcmyk(32%, 26.1%, 0%, 20.4%)
CIE-LABlab(62.95, 8.13, -28.64)
CIE-LCHlch(62.95, 29.78, 285.84°)
OKLaboklab(68.35% 0.0059 -0.0793)
OKLCHoklch(68.35% 0.08 274.3)
XYZxyz(32.1640, 31.5267, 60.8789)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A96CB #CBBF8A
analogous
#8AB7CB #8A96CB #9F8ACB
triadic
#8A96CB #CB8A96 #96CB8A
tetradic
#8A96CB #CB8AB7 #CBBF8A #8ACB9F
square
#8A96CB #CB8AB7 #CBBF8A #8ACB9F
split-complementary
#8A96CB #CB9F8A #B7CB8A
monochromatic
#435397 #6070B8 #8A96CB #B4BCDE #DFE2F1

Accessibility & contrast

On white

2.87
#8A96CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#8A96CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A96CB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A96CB#FFFFFF#000000##000000
##8A96CB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCD
Deuteranopia (green-blind)
#8196CA
Tritanopia (blue-blind)
#78A0A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a96cb;
/* rgb */ color: rgb(138, 150, 203);
/* oklch */ color: oklch(68.4% 0.080 274.3);
Tailwind
colors: {
  custom: {
    50: '#aeb4db',
    500: '#8a96cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a96cb;
$custom-light: #aeb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a96cb",
  "rgb": {
    "r": 138,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 228.923,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68351,
    "c": 0.07957,
    "h": 274.3
  },
  "luminance": 0.31528
}

Semantic roles & 50–950 ramp

primary
#8A96CB
secondary
#E3DFCE
accent
#9A34B1
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A96CB

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

Preview Lab → · Contrast checker → · Palette generator →

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