#7988F3#7988F3

#7988F3 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.4% C 0.158 H 275.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7988F3
RGBrgb(121, 136, 243)
HSLhsl(233, 84%, 71%)
HSVhsv(233, 50%, 95%)
CMYKcmyk(50.2%, 44%, 0%, 4.7%)
CIE-LABlab(60.02, 23.27, -55.57)
CIE-LCHlch(60.02, 60.24, 292.72°)
OKLaboklab(66.41% 0.0144 -0.1578)
OKLCHoklch(66.41% 0.158 275.2)
XYZxyz(32.8619, 28.1423, 88.4770)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7988F3 #F3E479
analogous
#79C5F3 #7988F3 #A779F3
triadic
#7988F3 #F37988 #88F379
tetradic
#7988F3 #F379C5 #F3E479 #79F3A7
square
#7988F3 #F379C5 #F3E479 #79F3A7
split-complementary
#7988F3 #F3A779 #C5F379
monochromatic
#142DDE #4156EE #7988F3 #B1BAF8 #E3E6FC

Accessibility & contrast

On white

3.17
#7988F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7988F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7988F3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7988F3#FFFFFF#000000##000000
##7988F31.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F7
Deuteranopia (green-blind)
#4F8CF1
Tritanopia (blue-blind)
#469FB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7988f3;
/* rgb */ color: rgb(121, 136, 243);
/* oklch */ color: oklch(66.4% 0.158 275.2);
Tailwind
colors: {
  custom: {
    50: '#a7aaf7',
    500: '#7988f3',
    950: '#000000',
  },
}
SCSS
$custom: #7988f3;
$custom-light: #a7aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#7988f3",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 243
  },
  "hsl": {
    "h": 232.623,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66411,
    "c": 0.15847,
    "h": 275.2
  },
  "luminance": 0.28144
}

Semantic roles & 50–950 ramp

primary
#7988F3
secondary
#F4F0D4
accent
#C506E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7988F3

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

Preview Lab → · Contrast checker → · Palette generator →

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