#8798DA#8798DA

#8798DA is a light, moderate blue. Relative luminance 0.327; OKLCH L 69.2% C 0.099 H 272.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8798DA
RGBrgb(135, 152, 218)
HSLhsl(228, 53%, 69%)
HSVhsv(228, 38%, 85%)
CMYKcmyk(38.1%, 30.3%, 0%, 14.5%)
CIE-LABlab(63.89, 10.13, -35.56)
CIE-LCHlch(63.89, 36.97, 285.90°)
OKLaboklab(69.23% 0.0044 -0.0992)
OKLCHoklch(69.23% 0.099 272.5)
XYZxyz(33.8710, 32.6678, 70.8369)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798DA #DAC987
analogous
#87C2DA #8798DA #A087DA
triadic
#8798DA #DA8798 #98DA87
tetradic
#8798DA #DA87C2 #DAC987 #87DAA0
square
#8798DA #DA87C2 #DAC987 #87DAA0
split-complementary
#8798DA #DAA087 #C2DA87
monochromatic
#364FB0 #5870CC #8798DA #B6C0E8 #E5E8F7

Accessibility & contrast

On white

2.79
#8798DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#8798DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798DA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798DA#FFFFFF#000000##000000
##8798DA1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#829EDD
Deuteranopia (green-blind)
#7B98D8
Tritanopia (blue-blind)
#6EA5AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8798da;
/* rgb */ color: rgb(135, 152, 218);
/* oklch */ color: oklch(69.2% 0.099 272.5);
Tailwind
colors: {
  custom: {
    50: '#adb6e5',
    500: '#8798da',
    950: '#000000',
  },
}
SCSS
$custom: #8798da;
$custom-light: #adb6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8798da",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 227.711,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69233,
    "c": 0.09932,
    "h": 272.5
  },
  "luminance": 0.32669
}

Semantic roles & 50–950 ramp

primary
#8798DA
secondary
#EAE6D2
accent
#A125C0
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8798DA

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

Preview Lab → · Contrast checker → · Palette generator →

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