#7984EC#7984EC

#7984EC is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.2% C 0.154 H 276.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7984EC
RGBrgb(121, 132, 236)
HSLhsl(234, 75%, 70%)
HSVhsv(234, 49%, 93%)
CMYKcmyk(48.7%, 44.1%, 0%, 7.5%)
CIE-LABlab(58.62, 23.53, -53.92)
CIE-LCHlch(58.62, 58.83, 293.58°)
OKLaboklab(65.22% 0.0179 -0.153)
OKLCHoklch(65.22% 0.154 276.7)
XYZxyz(31.2720, 26.6218, 82.8313)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984EC #ECE179
analogous
#79BDEC #7984EC #A879EC
triadic
#7984EC #EC7984 #84EC79
tetradic
#7984EC #EC79BD #ECE179 #79ECA8
square
#7984EC #EC79BD #ECE179 #79ECA8
split-complementary
#7984EC #ECA879 #BDEC79
monochromatic
#1D2ECD #4353E4 #7984EC #AFB5F4 #E4E6FB

Accessibility & contrast

On white

3.32
#7984EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7984EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984EC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984EC#FFFFFF#000000##000000
##7984EC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#4F89EA
Tritanopia (blue-blind)
#4C9AAD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7984ec;
/* rgb */ color: rgb(121, 132, 236);
/* oklch */ color: oklch(65.2% 0.154 276.7);
Tailwind
colors: {
  custom: {
    50: '#a6a7f3',
    500: '#7984ec',
    950: '#000000',
  },
}
SCSS
$custom: #7984ec;
$custom-light: #a6a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7984ec",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 236
  },
  "hsl": {
    "h": 234.261,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.65225,
    "c": 0.15404,
    "h": 276.7
  },
  "luminance": 0.26624
}

Semantic roles & 50–950 ramp

primary
#7984EC
secondary
#F0EDD0
accent
#C40ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7984EC

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

Preview Lab → · Contrast checker → · Palette generator →

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