#8798DC#8798DC

#8798DC is a light, moderate blue. Relative luminance 0.328; OKLCH L 69.3% C 0.102 H 272.7°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8798DC
RGBrgb(135, 152, 220)
HSLhsl(228, 55%, 70%)
HSVhsv(228, 39%, 86%)
CMYKcmyk(38.6%, 30.9%, 0%, 13.7%)
CIE-LABlab(63.98, 10.68, -36.53)
CIE-LCHlch(63.98, 38.06, 286.29°)
OKLaboklab(69.33% 0.0049 -0.102)
OKLCHoklch(69.33% 0.102 272.7)
XYZxyz(34.1343, 32.7732, 72.2236)
Luminance0.3277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798DC #DCCB87
analogous
#87C3DC #8798DC #A187DC
triadic
#8798DC #DC8798 #98DC87
tetradic
#8798DC #DC87C3 #DCCB87 #87DCA1
square
#8798DC #DC87C3 #DCCB87 #87DCA1
split-complementary
#8798DC #DCA187 #C3DC87
monochromatic
#354EB4 #586FCE #8798DC #B6C1EA #E6E9F8

Accessibility & contrast

On white

2.78
#8798DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#8798DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798DC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798DC#FFFFFF#000000##000000
##8798DC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#819FDF
Deuteranopia (green-blind)
#7A98DA
Tritanopia (blue-blind)
#6DA6B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8798dc;
/* rgb */ color: rgb(135, 152, 220);
/* oklch */ color: oklch(69.3% 0.102 272.7);
Tailwind
colors: {
  custom: {
    50: '#adb6e7',
    500: '#8798dc',
    950: '#000000',
  },
}
SCSS
$custom: #8798dc;
$custom-light: #adb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8798dc",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 228,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69328,
    "c": 0.10215,
    "h": 272.7
  },
  "luminance": 0.32775
}

Semantic roles & 50–950 ramp

primary
#8798DC
secondary
#ECE7D3
accent
#A323C2
background
#FAFBFE
surface
#F4F6FC
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8798DC

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

Preview Lab → · Contrast checker → · Palette generator →

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