#7988EB#7988EB

#7988EB is a light, vivid blue. Relative luminance 0.277; OKLCH L 65.9% C 0.147 H 275.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7988EB
RGBrgb(121, 136, 235)
HSLhsl(232, 74%, 70%)
HSVhsv(232, 49%, 92%)
CMYKcmyk(48.5%, 42.1%, 0%, 7.8%)
CIE-LABlab(59.59, 20.86, -51.82)
CIE-LCHlch(59.59, 55.86, 291.92°)
OKLaboklab(65.94% 0.0131 -0.1468)
OKLCHoklch(65.94% 0.147 275.1)
XYZxyz(31.6800, 27.6696, 82.2526)
Luminance0.2767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988EB #EBDC79
analogous
#79C1EB #7988EB #A379EB
triadic
#7988EB #EB7988 #88EB79
tetradic
#7988EB #EB79C1 #EBDC79 #79EBA3
square
#7988EB #EB79C1 #EBDC79 #79EBA3
split-complementary
#7988EB #EBA379 #C1EB79
monochromatic
#1E35CB #4459E3 #7988EB #AEB7F3 #E4E7FB

Accessibility & contrast

On white

3.21
#7988EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7988EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988EB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988EB#FFFFFF#000000##000000
##7988EB1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#4C9DAE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7988eb;
/* rgb */ color: rgb(121, 136, 235);
/* oklch */ color: oklch(65.9% 0.147 275.1);
Tailwind
colors: {
  custom: {
    50: '#a6aaf2',
    500: '#7988eb',
    950: '#000000',
  },
}
SCSS
$custom: #7988eb;
$custom-light: #a6aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7988eb",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 232.105,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65945,
    "c": 0.14743,
    "h": 275.1
  },
  "luminance": 0.27671
}

Semantic roles & 50–950 ramp

primary
#7988EB
secondary
#F0ECD0
accent
#BC0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7988EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7988EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva