#8797CD#8797CD

#8797CD is a light, moderate blue. Relative luminance 0.317; OKLCH L 68.4% C 0.082 H 271.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8797CD
RGBrgb(135, 151, 205)
HSLhsl(226, 41%, 67%)
HSVhsv(226, 34%, 80%)
CMYKcmyk(34.1%, 26.3%, 0%, 19.6%)
CIE-LABlab(63.09, 7.22, -29.57)
CIE-LCHlch(63.09, 30.44, 283.71°)
OKLaboklab(68.43% 0.002 -0.082)
OKLCHoklch(68.43% 0.082 271.4)
XYZxyz(32.0745, 31.6907, 62.1727)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8797CD #CDBD87
analogous
#87BACD #8797CD #9A87CD
triadic
#8797CD #CD8797 #97CD87
tetradic
#8797CD #CD87BA #CDBD87 #87CD9A
square
#8797CD #CD87BA #CDBD87 #87CD9A
split-complementary
#8797CD #CD9A87 #BACD87
monochromatic
#40549A #5C72BB #8797CD #B2BCDF #DDE2F1

Accessibility & contrast

On white

2.86
#8797CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#8797CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8797CD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8797CD#FFFFFF#000000##000000
##8797CD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#8096CC
Tritanopia (blue-blind)
#73A2AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8797cd;
/* rgb */ color: rgb(135, 151, 205);
/* oklch */ color: oklch(68.4% 0.082 271.4);
Tailwind
colors: {
  custom: {
    50: '#acb5dc',
    500: '#8797cd',
    950: '#000000',
  },
}
SCSS
$custom: #8797cd;
$custom-light: #acb5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8797cd",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 226.286,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68431,
    "c": 0.08205,
    "h": 271.4
  },
  "luminance": 0.31692
}

Semantic roles & 50–950 ramp

primary
#8797CD
secondary
#E3DECD
accent
#9631B4
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8797CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8797CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva