#8798E2#8798E2

#8798E2 is a light, moderate blue. Relative luminance 0.331; OKLCH L 69.6% C 0.111 H 273.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8798E2
RGBrgb(135, 152, 226)
HSLhsl(229, 61%, 71%)
HSVhsv(229, 40%, 89%)
CMYKcmyk(40.3%, 32.7%, 0%, 11.4%)
CIE-LABlab(64.24, 12.33, -39.44)
CIE-LCHlch(64.24, 41.33, 287.36°)
OKLaboklab(69.62% 0.0065 -0.1104)
OKLCHoklch(69.62% 0.111 273.3)
XYZxyz(34.9432, 33.0967, 76.4839)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798E2 #E2D187
analogous
#87C5E2 #8798E2 #A387E2
triadic
#8798E2 #E28798 #98E287
tetradic
#8798E2 #E287C5 #E2D187 #87E2A3
square
#8798E2 #E287C5 #E2D187 #87E2A3
split-complementary
#8798E2 #E2A387 #C5E287
monochromatic
#2E4AC0 #566ED6 #8798E2 #B8C2EE #E6EAF9

Accessibility & contrast

On white

2.76
#8798E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#8798E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798E2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798E2#FFFFFF#000000##000000
##8798E21.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#7798E0
Tritanopia (blue-blind)
#6AA7B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8798e2;
/* rgb */ color: rgb(135, 152, 226);
/* oklch */ color: oklch(69.6% 0.111 273.3);
Tailwind
colors: {
  custom: {
    50: '#adb6eb',
    500: '#8798e2',
    950: '#000000',
  },
}
SCSS
$custom: #8798e2;
$custom-light: #adb6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8798e2",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 228.791,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69617,
    "c": 0.11063,
    "h": 273.3
  },
  "luminance": 0.33098
}

Semantic roles & 50–950 ramp

primary
#8798E2
secondary
#EFEAD6
accent
#A91DC9
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8798E2

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

Preview Lab → · Contrast checker → · Palette generator →

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