#8798CD#8798CD

#8798CD is a light, moderate blue. Relative luminance 0.320; OKLCH L 68.6% C 0.081 H 270.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8798CD
RGBrgb(135, 152, 205)
HSLhsl(225, 41%, 67%)
HSVhsv(225, 34%, 80%)
CMYKcmyk(34.1%, 25.9%, 0%, 19.6%)
CIE-LABlab(63.35, 6.64, -29.15)
CIE-LCHlch(63.35, 29.90, 282.84°)
OKLaboklab(68.64% 0.0006 -0.0808)
OKLCHoklch(68.64% 0.081 270.5)
XYZxyz(32.2362, 32.0139, 62.2266)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798CD #CDBC87
analogous
#87BBCD #8798CD #9987CD
triadic
#8798CD #CD8798 #98CD87
tetradic
#8798CD #CD87BB #CDBC87 #87CD99
square
#8798CD #CD87BB #CDBC87 #87CD99
split-complementary
#8798CD #CD9987 #BBCD87
monochromatic
#40569A #5C73BB #8798CD #B2BDDF #DDE2F1

Accessibility & contrast

On white

2.84
#8798CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#8798CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798CD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798CD#FFFFFF#000000##000000
##8798CD1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DCF
Deuteranopia (green-blind)
#8197CC
Tritanopia (blue-blind)
#73A2AA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8798cd;
/* rgb */ color: rgb(135, 152, 205);
/* oklch */ color: oklch(68.6% 0.081 270.5);
Tailwind
colors: {
  custom: {
    50: '#acb6dc',
    500: '#8798cd',
    950: '#000000',
  },
}
SCSS
$custom: #8798cd;
$custom-light: #acb6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8798cd",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 225.429,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68639,
    "c": 0.08085,
    "h": 270.5
  },
  "luminance": 0.32015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8798CD

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

Preview Lab → · Contrast checker → · Palette generator →

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