#8C98EB#8C98EB

#8C98EB is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.4% C 0.122 H 276.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8C98EB
RGBrgb(140, 152, 235)
HSLhsl(232, 70%, 74%)
HSVhsv(232, 40%, 92%)
CMYKcmyk(40.4%, 35.3%, 0%, 7.8%)
CIE-LABlab(64.99, 16.12, -43.21)
CIE-LCHlch(64.99, 46.12, 290.46°)
OKLaboklab(70.41% 0.0139 -0.1213)
OKLCHoklch(70.41% 0.122 276.5)
XYZxyz(37.0344, 34.0284, 83.1979)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C98EB #EBDF8C
analogous
#8CC7EB #8C98EB #AF8CEB
triadic
#8C98EB #EB8C98 #98EB8C
tetradic
#8C98EB #EB8CC7 #EBDF8C #8CEBAF
square
#8C98EB #EB8CC7 #EBDF8C #8CEBAF
split-complementary
#8C98EB #EBAF8C #C7EB8C
monochromatic
#253CD7 #5869E2 #8C98EB #C0C7F4 #E5E8FA

Accessibility & contrast

On white

2.69
#8C98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#8C98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C98EB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C98EB#FFFFFF#000000##000000
##8C98EB1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#6EA9B7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8c98eb;
/* rgb */ color: rgb(140, 152, 235);
/* oklch */ color: oklch(70.4% 0.122 276.5);
Tailwind
colors: {
  custom: {
    50: '#b1b6f2',
    500: '#8c98eb',
    950: '#000000',
  },
}
SCSS
$custom: #8c98eb;
$custom-light: #b1b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c98eb",
  "rgb": {
    "r": 140,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 232.421,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70413,
    "c": 0.12207,
    "h": 276.5
  },
  "luminance": 0.3403
}

Semantic roles & 50–950 ramp

primary
#8C98EB
secondary
#F2EFD9
accent
#BA13D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8C98EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8C98EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva