#7988FA#7988FA

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

Color values

HEX#7988FA
RGBrgb(121, 136, 250)
HSLhsl(233, 93%, 73%)
HSVhsv(233, 52%, 98%)
CMYKcmyk(51.6%, 45.6%, 0%, 2%)
CIE-LABlab(60.40, 25.40, -58.81)
CIE-LCHlch(60.40, 64.06, 293.36°)
OKLaboklab(66.83% 0.0154 -0.1673)
OKLCHoklch(66.83% 0.168 275.3)
XYZxyz(33.9392, 28.5732, 94.1507)
Luminance0.2858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988FA #FAEB79
analogous
#79C9FA #7988FA #AA79FA
triadic
#7988FA #FA7988 #88FA79
tetradic
#7988FA #FA79C9 #FAEB79 #79FAAA
square
#7988FA #FA79C9 #FAEB79 #79FAAA
split-complementary
#7988FA #FAAA79 #C9FA79
monochromatic
#0924F0 #3E54F8 #7988FA #B4BCFC #E2E5FE

Accessibility & contrast

On white

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

On black

6.72
#7988FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988FA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988FA#FFFFFF#000000##000000
##7988FA1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#3FA1B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7988fa;
/* rgb */ color: rgb(121, 136, 250);
/* oklch */ color: oklch(66.8% 0.168 275.3);
Tailwind
colors: {
  custom: {
    50: '#a7aafc',
    500: '#7988fa',
    950: '#000000',
  },
}
SCSS
$custom: #7988fa;
$custom-light: #a7aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#7988fa",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 233.023,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66829,
    "c": 0.16803,
    "h": 275.3
  },
  "luminance": 0.28575
}

Semantic roles & 50–950 ramp

primary
#7988FA
secondary
#F6F2D5
accent
#CB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7988FA

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

Preview Lab → · Contrast checker → · Palette generator →

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