#7988F8#7988F8

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

Color values

HEX#7988F8
RGBrgb(121, 136, 248)
HSLhsl(233, 90%, 72%)
HSVhsv(233, 51%, 97%)
CMYKcmyk(51.2%, 45.2%, 0%, 2.7%)
CIE-LABlab(60.29, 24.79, -57.89)
CIE-LCHlch(60.29, 62.97, 293.18°)
OKLaboklab(66.71% 0.0151 -0.1646)
OKLCHoklch(66.71% 0.165 275.3)
XYZxyz(33.6272, 28.4484, 92.5079)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988F8 #F8E979
analogous
#79C8F8 #7988F8 #A979F8
triadic
#7988F8 #F87988 #88F879
tetradic
#7988F8 #F879C8 #F8E979 #79F8A9
square
#7988F8 #F879C8 #F8E979 #79F8A9
split-complementary
#7988F8 #F8A979 #C8F879
monochromatic
#0C26EA #3F54F5 #7988F8 #B3BCFB #E2E5FD

Accessibility & contrast

On white

3.14
#7988F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#7988F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988F8
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988F8#FFFFFF#000000##000000
##7988F81.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#4A8CF6
Tritanopia (blue-blind)
#41A0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7988f8;
/* rgb */ color: rgb(121, 136, 248);
/* oklch */ color: oklch(66.7% 0.165 275.3);
Tailwind
colors: {
  custom: {
    50: '#a7aafb',
    500: '#7988f8',
    950: '#000000',
  },
}
SCSS
$custom: #7988f8;
$custom-light: #a7aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#7988f8",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 232.913,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66709,
    "c": 0.1653,
    "h": 275.3
  },
  "luminance": 0.28451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7988F8

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

Preview Lab → · Contrast checker → · Palette generator →

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