#8798E8#8798E8

#8798E8 is a light, moderate blue. Relative luminance 0.334; OKLCH L 69.9% C 0.119 H 273.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8798E8
RGBrgb(135, 152, 232)
HSLhsl(229, 68%, 72%)
HSVhsv(229, 42%, 91%)
CMYKcmyk(41.8%, 34.5%, 0%, 9%)
CIE-LABlab(64.51, 14.01, -42.33)
CIE-LCHlch(64.51, 44.59, 288.31°)
OKLaboklab(69.91% 0.0079 -0.1188)
OKLCHoklch(69.91% 0.119 273.8)
XYZxyz(35.7810, 33.4318, 80.8959)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798E8 #E8D787
analogous
#87C8E8 #8798E8 #A787E8
triadic
#8798E8 #E88798 #98E887
tetradic
#8798E8 #E887C8 #E8D787 #87E8A7
square
#8798E8 #E887C8 #E8D787 #87E8A7
split-complementary
#8798E8 #E8A787 #C8E887
monochromatic
#2744CD #546CDE #8798E8 #BAC4F2 #E5E9FA

Accessibility & contrast

On white

2.73
#8798E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#8798E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798E8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798E8#FFFFFF#000000##000000
##8798E81.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1EB
Deuteranopia (green-blind)
#7499E6
Tritanopia (blue-blind)
#67A8B5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8798e8;
/* rgb */ color: rgb(135, 152, 232);
/* oklch */ color: oklch(69.9% 0.119 273.8);
Tailwind
colors: {
  custom: {
    50: '#aeb6ef',
    500: '#8798e8',
    950: '#000000',
  },
}
SCSS
$custom: #8798e8;
$custom-light: #aeb6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8798e8",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 229.485,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69914,
    "c": 0.11908,
    "h": 273.8
  },
  "luminance": 0.33434
}

Semantic roles & 50–950 ramp

primary
#8798E8
secondary
#F2EDD9
accent
#AF16D0
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8798E8

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

Preview Lab → · Contrast checker → · Palette generator →

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