#8798EA#8798EA

#8798EA is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.0% C 0.122 H 273.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8798EA
RGBrgb(135, 152, 234)
HSLhsl(230, 70%, 72%)
HSVhsv(230, 42%, 92%)
CMYKcmyk(42.3%, 35%, 0%, 8.2%)
CIE-LABlab(64.60, 14.57, -43.29)
CIE-LCHlch(64.60, 45.68, 288.60°)
OKLaboklab(70.02% 0.0084 -0.1216)
OKLCHoklch(70.02% 0.122 273.9)
XYZxyz(36.0667, 33.5461, 82.4006)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798EA #EAD987
analogous
#87CAEA #8798EA #A887EA
triadic
#8798EA #EA8798 #98EA87
tetradic
#8798EA #EA87CA #EAD987 #87EAA8
square
#8798EA #EA87CA #EAD987 #87EAA8
split-complementary
#8798EA #EAA887 #CAEA87
monochromatic
#2542D2 #536BE1 #8798EA #BBC5F3 #E5E9FA

Accessibility & contrast

On white

2.72
#8798EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#8798EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798EA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798EA#FFFFFF#000000##000000
##8798EA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#66A9B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8798ea;
/* rgb */ color: rgb(135, 152, 234);
/* oklch */ color: oklch(70.0% 0.122 273.9);
Tailwind
colors: {
  custom: {
    50: '#aeb6f1',
    500: '#8798ea',
    950: '#000000',
  },
}
SCSS
$custom: #8798ea;
$custom-light: #aeb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8798ea",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 229.697,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70015,
    "c": 0.12189,
    "h": 273.9
  },
  "luminance": 0.33548
}

Semantic roles & 50–950 ramp

primary
#8798EA
secondary
#F2EED9
accent
#B113D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8798EA

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

Preview Lab → · Contrast checker → · Palette generator →

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