#8798E6#8798E6

#8798E6 is a light, moderate blue. Relative luminance 0.333; OKLCH L 69.8% C 0.116 H 273.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8798E6
RGBrgb(135, 152, 230)
HSLhsl(229, 66%, 72%)
HSVhsv(229, 41%, 90%)
CMYKcmyk(41.3%, 33.9%, 0%, 9.8%)
CIE-LABlab(64.42, 13.45, -41.37)
CIE-LCHlch(64.42, 43.50, 288.00°)
OKLaboklab(69.81% 0.0074 -0.116)
OKLCHoklch(69.81% 0.116 273.7)
XYZxyz(35.4985, 33.3188, 79.4083)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798E6 #E6D587
analogous
#87C8E6 #8798E6 #A687E6
triadic
#8798E6 #E68798 #98E687
tetradic
#8798E6 #E687C8 #E6D587 #87E6A6
square
#8798E6 #E687C8 #E6D587 #87E6A6
split-complementary
#8798E6 #E6A687 #C8E687
monochromatic
#2A46C9 #546DDB #8798E6 #BAC3F1 #E6E9FA

Accessibility & contrast

On white

2.74
#8798E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#8798E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798E6
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798E6#FFFFFF#000000##000000
##8798E61.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0E9
Deuteranopia (green-blind)
#7599E4
Tritanopia (blue-blind)
#68A8B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8798e6;
/* rgb */ color: rgb(135, 152, 230);
/* oklch */ color: oklch(69.8% 0.116 273.7);
Tailwind
colors: {
  custom: {
    50: '#adb6ee',
    500: '#8798e6',
    950: '#000000',
  },
}
SCSS
$custom: #8798e6;
$custom-light: #adb6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8798e6",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 230
  },
  "hsl": {
    "h": 229.263,
    "s": 65.517,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69814,
    "c": 0.11627,
    "h": 273.7
  },
  "luminance": 0.33321
}

Semantic roles & 50–950 ramp

primary
#8798E6
secondary
#F1ECD8
accent
#AD18CD
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8798E6

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

Preview Lab → · Contrast checker → · Palette generator →

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