#7984FC#7984FC

#7984FC is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.2% C 0.176 H 276.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7984FC
RGBrgb(121, 132, 252)
HSLhsl(235, 96%, 73%)
HSVhsv(235, 52%, 99%)
CMYKcmyk(52%, 47.6%, 0%, 1.2%)
CIE-LABlab(59.52, 28.38, -61.32)
CIE-LCHlch(59.52, 67.57, 294.83°)
OKLaboklab(66.2% 0.02 -0.1747)
OKLCHoklch(66.2% 0.176 276.5)
XYZxyz(33.7016, 27.5936, 95.6268)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984FC #FCF179
analogous
#79C5FC #7984FC #AF79FC
triadic
#7984FC #FC7984 #84FC79
tetradic
#7984FC #FC79C5 #FCF179 #79FCAF
square
#7984FC #FC79C5 #FCF179 #79FCAF
split-complementary
#7984FC #FCAF79 #C5FC79
monochromatic
#051AF5 #3D4DFB #7984FC #B5BBFD #E1E4FE

Accessibility & contrast

On white

3.22
#7984FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7984FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984FC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984FC#FFFFFF#000000##000000
##7984FC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#3D8AF9
Tritanopia (blue-blind)
#3E9EB4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7984fc;
/* rgb */ color: rgb(121, 132, 252);
/* oklch */ color: oklch(66.2% 0.176 276.5);
Tailwind
colors: {
  custom: {
    50: '#a8a7fe',
    500: '#7984fc',
    950: '#000000',
  },
}
SCSS
$custom: #7984fc;
$custom-light: #a8a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7984fc",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 234.962,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.17588,
    "h": 276.5
  },
  "luminance": 0.27596
}

Semantic roles & 50–950 ramp

primary
#7984FC
secondary
#F7F4D4
accent
#D200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7984FC

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

Preview Lab → · Contrast checker → · Palette generator →

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