#7984F8#7984F8

#7984F8 is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.9% C 0.170 H 276.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7984F8
RGBrgb(121, 132, 248)
HSLhsl(235, 90%, 72%)
HSVhsv(235, 51%, 97%)
CMYKcmyk(51.2%, 46.8%, 0%, 2.7%)
CIE-LABlab(59.29, 27.16, -59.49)
CIE-LCHlch(59.29, 65.39, 294.54°)
OKLaboklab(65.95% 0.0195 -0.1693)
OKLCHoklch(65.95% 0.17 276.6)
XYZxyz(33.0744, 27.3427, 92.3236)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984F8 #F8ED79
analogous
#79C4F8 #7984F8 #AD79F8
triadic
#7984F8 #F87984 #84F879
tetradic
#7984F8 #F879C4 #F8ED79 #79F8AD
square
#7984F8 #F879C4 #F8ED79 #79F8AD
split-complementary
#7984F8 #F8AD79 #C4F879
monochromatic
#0C1FEA #3F4FF5 #7984F8 #B3B9FB #E2E4FD

Accessibility & contrast

On white

3.25
#7984F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7984F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984F8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984F8#FFFFFF#000000##000000
##7984F81.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#428AF5
Tritanopia (blue-blind)
#429DB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7984f8;
/* rgb */ color: rgb(121, 132, 248);
/* oklch */ color: oklch(65.9% 0.170 276.6);
Tailwind
colors: {
  custom: {
    50: '#a7a7fb',
    500: '#7984f8',
    950: '#000000',
  },
}
SCSS
$custom: #7984f8;
$custom-light: #a7a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7984f8",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 234.803,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.17046,
    "h": 276.6
  },
  "luminance": 0.27345
}

Semantic roles & 50–950 ramp

primary
#7984F8
secondary
#F6F3D5
accent
#D200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7984F8

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

Preview Lab → · Contrast checker → · Palette generator →

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