#7984EA#7984EA

#7984EA is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.1% C 0.151 H 276.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7984EA
RGBrgb(121, 132, 234)
HSLhsl(234, 73%, 70%)
HSVhsv(234, 48%, 92%)
CMYKcmyk(48.3%, 43.6%, 0%, 8.2%)
CIE-LABlab(58.51, 22.93, -52.98)
CIE-LCHlch(58.51, 57.73, 293.40°)
OKLaboklab(65.11% 0.0176 -0.1502)
OKLCHoklch(65.11% 0.151 276.7)
XYZxyz(30.9831, 26.5062, 81.3096)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984EA #EADF79
analogous
#79BDEA #7984EA #A679EA
triadic
#7984EA #EA7984 #84EA79
tetradic
#7984EA #EA79BD #EADF79 #79EAA6
square
#7984EA #EA79BD #EADF79 #79EAA6
split-complementary
#7984EA #EAA679 #BDEA79
monochromatic
#2030C9 #4453E2 #7984EA #AEB5F2 #E3E5FB

Accessibility & contrast

On white

3.33
#7984EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7984EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984EA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984EA#FFFFFF#000000##000000
##7984EA1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B91EE
Deuteranopia (green-blind)
#5188E8
Tritanopia (blue-blind)
#4E9AAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7984ea;
/* rgb */ color: rgb(121, 132, 234);
/* oklch */ color: oklch(65.1% 0.151 276.7);
Tailwind
colors: {
  custom: {
    50: '#a6a7f1',
    500: '#7984ea',
    950: '#000000',
  },
}
SCSS
$custom: #7984ea;
$custom-light: #a6a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7984ea",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 234
  },
  "hsl": {
    "h": 234.159,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65108,
    "c": 0.15127,
    "h": 276.7
  },
  "luminance": 0.26508
}

Semantic roles & 50–950 ramp

primary
#7984EA
secondary
#F0ECCF
accent
#C211D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7984EA

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

Preview Lab → · Contrast checker → · Palette generator →

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