#7984D4#7984D4

#7984D4 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.9% C 0.120 H 276.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7984D4
RGBrgb(121, 132, 212)
HSLhsl(233, 51%, 65%)
HSVhsv(233, 43%, 83%)
CMYKcmyk(42.9%, 37.7%, 0%, 16.9%)
CIE-LABlab(57.39, 16.44, -42.47)
CIE-LCHlch(57.39, 45.54, 291.16°)
OKLaboklab(63.88% 0.0136 -0.1195)
OKLCHoklch(63.88% 0.12 276.5)
XYZxyz(28.0165, 25.3196, 65.6855)
Luminance0.2532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984D4 #D4C979
analogous
#79B2D4 #7984D4 #9B79D4
triadic
#7984D4 #D47984 #84D479
tetradic
#7984D4 #D479B2 #D4C979 #79D49B
square
#7984D4 #D479B2 #D4C979 #79D49B
split-complementary
#7984D4 #D49B79 #B2D479
monochromatic
#33409F #4B59C5 #7984D4 #A7AFE3 #D6D9F2

Accessibility & contrast

On white

3.46
#7984D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#7984D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984D4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984D4#FFFFFF#000000##000000
##7984D41.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#6186D2
Tritanopia (blue-blind)
#5B94A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7984d4;
/* rgb */ color: rgb(121, 132, 212);
/* oklch */ color: oklch(63.9% 0.120 276.5);
Tailwind
colors: {
  custom: {
    50: '#a4a7e1',
    500: '#7984d4',
    950: '#000000',
  },
}
SCSS
$custom: #7984d4;
$custom-light: #a4a7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7984d4",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 212
  },
  "hsl": {
    "h": 232.747,
    "s": 51.412,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63876,
    "c": 0.1203,
    "h": 276.5
  },
  "luminance": 0.25321
}

Semantic roles & 50–950 ramp

primary
#7984D4
secondary
#E4E0C5
accent
#AC27BF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7984D4

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

Preview Lab → · Contrast checker → · Palette generator →

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