#8A97CB#8A97CB

#8A97CB is a light, moderate blue. Relative luminance 0.318; OKLCH L 68.6% C 0.078 H 273.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8A97CB
RGBrgb(138, 151, 203)
HSLhsl(228, 38%, 67%)
HSVhsv(228, 32%, 80%)
CMYKcmyk(32%, 25.6%, 0%, 20.4%)
CIE-LABlab(63.22, 7.56, -28.23)
CIE-LCHlch(63.22, 29.23, 284.98°)
OKLaboklab(68.56% 0.0046 -0.0782)
OKLCHoklch(68.56% 0.078 273.3)
XYZxyz(32.3243, 31.8472, 60.9323)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97CB #CBBE8A
analogous
#8AB8CB #8A97CB #9E8ACB
triadic
#8A97CB #CB8A97 #97CB8A
tetradic
#8A97CB #CB8AB8 #CBBE8A #8ACB9E
square
#8A97CB #CB8AB8 #CBBE8A #8ACB9E
split-complementary
#8A97CB #CB9E8A #B8CB8A
monochromatic
#435497 #6071B8 #8A97CB #B4BDDE #DFE2F1

Accessibility & contrast

On white

2.85
#8A97CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#8A97CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97CB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97CB#FFFFFF#000000##000000
##8A97CB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCD
Deuteranopia (green-blind)
#8297CA
Tritanopia (blue-blind)
#78A1A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a97cb;
/* rgb */ color: rgb(138, 151, 203);
/* oklch */ color: oklch(68.6% 0.078 273.3);
Tailwind
colors: {
  custom: {
    50: '#aeb5db',
    500: '#8a97cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a97cb;
$custom-light: #aeb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97cb",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 228,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68559,
    "c": 0.07831,
    "h": 273.3
  },
  "luminance": 0.31848
}

Semantic roles & 50–950 ramp

primary
#8A97CB
secondary
#E3DFCE
accent
#9834B1
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A97CB

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

Preview Lab → · Contrast checker → · Palette generator →

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