#7984F2#7984F2

#7984F2 is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.6% C 0.162 H 276.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7984F2
RGBrgb(121, 132, 242)
HSLhsl(235, 82%, 71%)
HSVhsv(235, 50%, 95%)
CMYKcmyk(50%, 45.5%, 0%, 5.1%)
CIE-LABlab(58.95, 25.34, -56.71)
CIE-LCHlch(58.95, 62.12, 294.07°)
OKLaboklab(65.58% 0.0188 -0.1612)
OKLCHoklch(65.58% 0.162 276.6)
XYZxyz(32.1584, 26.9764, 87.4996)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7984F2 #F2E779
analogous
#79C0F2 #7984F2 #AA79F2
triadic
#7984F2 #F27984 #84F279
tetradic
#7984F2 #F279C0 #F2E779 #79F2AA
square
#7984F2 #F279C0 #F2E779 #79F2AA
split-complementary
#7984F2 #F2AA79 #C0F279
monochromatic
#1527DB #4151ED #7984F2 #B1B7F7 #E3E5FC

Accessibility & contrast

On white

3.28
#7984F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7984F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7984F2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7984F2#FFFFFF#000000##000000
##7984F21.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#4989F0
Tritanopia (blue-blind)
#479CAF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7984f2;
/* rgb */ color: rgb(121, 132, 242);
/* oklch */ color: oklch(65.6% 0.162 276.6);
Tailwind
colors: {
  custom: {
    50: '#a7a7f7',
    500: '#7984f2',
    950: '#000000',
  },
}
SCSS
$custom: #7984f2;
$custom-light: #a7a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7984f2",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 234.545,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65583,
    "c": 0.16229,
    "h": 276.6
  },
  "luminance": 0.26978
}

Semantic roles & 50–950 ramp

primary
#7984F2
secondary
#F3F0D3
accent
#CB07DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7984F2

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

Preview Lab → · Contrast checker → · Palette generator →

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