#8A97CC#8A97CC

#8A97CC is a light, moderate blue. Relative luminance 0.319; OKLCH L 68.6% C 0.080 H 273.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8A97CC
RGBrgb(138, 151, 204)
HSLhsl(228, 39%, 67%)
HSVhsv(228, 32%, 80%)
CMYKcmyk(32.4%, 26%, 0%, 20%)
CIE-LABlab(63.26, 7.82, -28.73)
CIE-LCHlch(63.26, 29.77, 285.22°)
OKLaboklab(68.6% 0.0049 -0.0796)
OKLCHoklch(68.6% 0.08 273.5)
XYZxyz(32.4438, 31.8950, 61.5620)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97CC #CCBF8A
analogous
#8AB8CC #8A97CC #9E8ACC
triadic
#8A97CC #CC8A97 #97CC8A
tetradic
#8A97CC #CC8AB8 #CCBF8A #8ACC9E
square
#8A97CC #CC8AB8 #CCBF8A #8ACC9E
split-complementary
#8A97CC #CC9E8A #B8CC8A
monochromatic
#435499 #5F71B9 #8A97CC #B5BDDF #DFE3F1

Accessibility & contrast

On white

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

On black

7.38
#8A97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97CC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97CC#FFFFFF#000000##000000
##8A97CC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a97cc;
/* rgb */ color: rgb(138, 151, 204);
/* oklch */ color: oklch(68.6% 0.080 273.5);
Tailwind
colors: {
  custom: {
    50: '#aeb5db',
    500: '#8a97cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a97cc;
$custom-light: #aeb5db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97cc",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 228.182,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68603,
    "c": 0.07974,
    "h": 273.5
  },
  "luminance": 0.31896
}

Semantic roles & 50–950 ramp

primary
#8A97CC
secondary
#E3DFCE
accent
#9933B2
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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