#7986F5#7986F5

#7986F5 is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.1% C 0.164 H 275.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7986F5
RGBrgb(121, 134, 245)
HSLhsl(234, 86%, 72%)
HSVhsv(234, 51%, 96%)
CMYKcmyk(50.6%, 45.3%, 0%, 3.9%)
CIE-LABlab(59.62, 25.06, -57.30)
CIE-LCHlch(59.62, 62.54, 293.62°)
OKLaboklab(66.15% 0.0169 -0.1629)
OKLCHoklch(66.15% 0.164 275.9)
XYZxyz(32.8865, 27.7057, 89.9833)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986F5 #F5E879
analogous
#79C4F5 #7986F5 #AA79F5
triadic
#7986F5 #F57986 #86F579
tetradic
#7986F5 #F579C4 #F5E879 #79F5AA
square
#7986F5 #F579C4 #F5E879 #79F5AA
split-complementary
#7986F5 #F5AA79 #C4F579
monochromatic
#1127E3 #4053F1 #7986F5 #B2B9F9 #E3E5FD

Accessibility & contrast

On white

3.21
#7986F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7986F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986F5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986F5#FFFFFF#000000##000000
##7986F51.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5695F9
Deuteranopia (green-blind)
#498BF3
Tritanopia (blue-blind)
#449EB2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7986f5;
/* rgb */ color: rgb(121, 134, 245);
/* oklch */ color: oklch(66.1% 0.164 275.9);
Tailwind
colors: {
  custom: {
    50: '#a7a9f9',
    500: '#7986f5',
    950: '#000000',
  },
}
SCSS
$custom: #7986f5;
$custom-light: #a7a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7986f5",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 245
  },
  "hsl": {
    "h": 233.71,
    "s": 86.111,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66146,
    "c": 0.16379,
    "h": 275.9
  },
  "luminance": 0.27708
}

Semantic roles & 50–950 ramp

primary
#7986F5
secondary
#F5F1D5
accent
#CB03E3
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7986F5

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

Preview Lab → · Contrast checker → · Palette generator →

#7986F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva