#8798E4#8798E4

#8798E4 is a light, moderate blue. Relative luminance 0.332; OKLCH L 69.7% C 0.113 H 273.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8798E4
RGBrgb(135, 152, 228)
HSLhsl(229, 63%, 71%)
HSVhsv(229, 41%, 89%)
CMYKcmyk(40.8%, 33.3%, 0%, 10.6%)
CIE-LABlab(64.33, 12.89, -40.41)
CIE-LCHlch(64.33, 42.41, 287.69°)
OKLaboklab(69.72% 0.007 -0.1132)
OKLCHoklch(69.72% 0.113 273.5)
XYZxyz(35.2193, 33.2071, 77.9376)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798E4 #E4D387
analogous
#87C6E4 #8798E4 #A487E4
triadic
#8798E4 #E48798 #98E487
tetradic
#8798E4 #E487C6 #E4D387 #87E4A4
square
#8798E4 #E487C6 #E4D387 #87E4A4
split-complementary
#8798E4 #E4A487 #C6E487
monochromatic
#2C48C4 #556DD9 #8798E4 #B9C3EF #E6EAF9

Accessibility & contrast

On white

2.75
#8798E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#8798E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798E4
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798E4#FFFFFF#000000##000000
##8798E41.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E7
Deuteranopia (green-blind)
#7698E2
Tritanopia (blue-blind)
#69A7B4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8798e4;
/* rgb */ color: rgb(135, 152, 228);
/* oklch */ color: oklch(69.7% 0.113 273.5);
Tailwind
colors: {
  custom: {
    50: '#adb6ed',
    500: '#8798e4',
    950: '#000000',
  },
}
SCSS
$custom: #8798e4;
$custom-light: #adb6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8798e4",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 229.032,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69715,
    "c": 0.11345,
    "h": 273.5
  },
  "luminance": 0.33209
}

Semantic roles & 50–950 ramp

primary
#8798E4
secondary
#F0EBD7
accent
#AB1ACB
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8798E4

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

Preview Lab → · Contrast checker → · Palette generator →

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