#7988EA#7988EA

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

Color values

HEX#7988EA
RGBrgb(121, 136, 234)
HSLhsl(232, 73%, 70%)
HSVhsv(232, 48%, 92%)
CMYKcmyk(48.3%, 41.9%, 0%, 8.2%)
CIE-LABlab(59.54, 20.56, -51.35)
CIE-LCHlch(59.54, 55.31, 291.82°)
OKLaboklab(65.89% 0.013 -0.1455)
OKLCHoklch(65.89% 0.146 275.1)
XYZxyz(31.5359, 27.6119, 81.4939)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988EA #EADB79
analogous
#79C1EA #7988EA #A279EA
triadic
#7988EA #EA7988 #88EA79
tetradic
#7988EA #EA79C1 #EADB79 #79EAA2
square
#7988EA #EA79C1 #EADB79 #79EAA2
split-complementary
#7988EA #EAA279 #C1EA79
monochromatic
#2036C9 #4459E2 #7988EA #AEB7F2 #E3E6FB

Accessibility & contrast

On white

3.22
#7988EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7988EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988EA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988EA#FFFFFF#000000##000000
##7988EA1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#4D9DAE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7988ea;
/* rgb */ color: rgb(121, 136, 234);
/* oklch */ color: oklch(65.9% 0.146 275.1);
Tailwind
colors: {
  custom: {
    50: '#a6aaf1',
    500: '#7988ea',
    950: '#000000',
  },
}
SCSS
$custom: #7988ea;
$custom-light: #a6aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7988ea",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 232.035,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65888,
    "c": 0.14604,
    "h": 275.1
  },
  "luminance": 0.27614
}

Semantic roles & 50–950 ramp

primary
#7988EA
secondary
#F0EBCF
accent
#BB11D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7988EA

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

Preview Lab → · Contrast checker → · Palette generator →

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