#7984FE#7984FE

#7984FE is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.3% C 0.179 H 276.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7984FE
RGBrgb(121, 132, 254)
HSLhsl(235, 99%, 74%)
HSVhsv(235, 52%, 100%)
CMYKcmyk(52.4%, 48%, 0%, 0.4%)
CIE-LABlab(59.64, 28.99, -62.24)
CIE-LCHlch(59.64, 68.66, 294.98°)
OKLaboklab(66.32% 0.0202 -0.1774)
OKLCHoklch(66.32% 0.179 276.5)
XYZxyz(34.0201, 27.7210, 97.3047)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984FE #FEF379
analogous
#79C6FE #7984FE #B079FE
triadic
#7984FE #FE7984 #84FE79
tetradic
#7984FE #FE79C6 #FEF379 #79FEB0
square
#7984FE #FE79C6 #FEF379 #79FEB0
split-complementary
#7984FE #FEB079 #C6FE79
monochromatic
#0216FB #3C4CFE #7984FE #B6BCFE #E1E3FF

Accessibility & contrast

On white

3.21
#7984FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7984FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984FE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984FE#FFFFFF#000000##000000
##7984FE1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#3A8AFB
Tritanopia (blue-blind)
#3C9FB5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7984fe;
/* rgb */ color: rgb(121, 132, 254);
/* oklch */ color: oklch(66.3% 0.179 276.5);
Tailwind
colors: {
  custom: {
    50: '#a8a7ff',
    500: '#7984fe',
    950: '#000000',
  },
}
SCSS
$custom: #7984fe;
$custom-light: #a8a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7984fe",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 254
  },
  "hsl": {
    "h": 235.038,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66322,
    "c": 0.17857,
    "h": 276.5
  },
  "luminance": 0.27723
}

Semantic roles & 50–950 ramp

primary
#7984FE
secondary
#F7F4D4
accent
#D300E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7984FE

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

Preview Lab → · Contrast checker → · Palette generator →

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