#7988F9#7988F9

#7988F9 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.167 H 275.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7988F9
RGBrgb(121, 136, 249)
HSLhsl(233, 91%, 73%)
HSVhsv(233, 51%, 98%)
CMYKcmyk(51.4%, 45.4%, 0%, 2.4%)
CIE-LABlab(60.35, 25.10, -58.35)
CIE-LCHlch(60.35, 63.52, 293.27°)
OKLaboklab(66.77% 0.0153 -0.166)
OKLCHoklch(66.77% 0.167 275.3)
XYZxyz(33.7828, 28.5107, 93.3271)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988F9 #F9EA79
analogous
#79C8F9 #7988F9 #AA79F9
triadic
#7988F9 #F97988 #88F979
tetradic
#7988F9 #F979C8 #F9EA79 #79F9AA
square
#7988F9 #F979C8 #F9EA79 #79F9AA
split-complementary
#7988F9 #F9AA79 #C8F979
monochromatic
#0B25ED #3E54F6 #7988F9 #B4BCFC #E2E5FE

Accessibility & contrast

On white

3.13
#7988F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7988F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988F9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988F9#FFFFFF#000000##000000
##7988F91.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#498CF7
Tritanopia (blue-blind)
#40A1B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7988f9;
/* rgb */ color: rgb(121, 136, 249);
/* oklch */ color: oklch(66.8% 0.167 275.3);
Tailwind
colors: {
  custom: {
    50: '#a7aafc',
    500: '#7988f9',
    950: '#000000',
  },
}
SCSS
$custom: #7988f9;
$custom-light: #a7aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#7988f9",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 232.969,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66769,
    "c": 0.16667,
    "h": 275.3
  },
  "luminance": 0.28513
}

Semantic roles & 50–950 ramp

primary
#7988F9
secondary
#F6F2D5
accent
#CB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7988F9

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

Preview Lab → · Contrast checker → · Palette generator →

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