#7986F9#7986F9

#7986F9 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.4% C 0.169 H 275.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7986F9
RGBrgb(121, 134, 249)
HSLhsl(234, 91%, 73%)
HSVhsv(234, 51%, 98%)
CMYKcmyk(51.4%, 46.2%, 0%, 2.4%)
CIE-LABlab(59.85, 26.28, -59.15)
CIE-LCHlch(59.85, 64.72, 293.95°)
OKLaboklab(66.39% 0.0175 -0.1683)
OKLCHoklch(66.39% 0.169 275.9)
XYZxyz(33.5037, 27.9526, 93.2341)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986F9 #F9EC79
analogous
#79C6F9 #7986F9 #AC79F9
triadic
#7986F9 #F97986 #86F979
tetradic
#7986F9 #F979C6 #F9EC79 #79F9AC
square
#7986F9 #F979C6 #F9EC79 #79F9AC
split-complementary
#7986F9 #F9AC79 #C6F979
monochromatic
#0B22ED #3E51F6 #7986F9 #B4BBFC #E2E5FE

Accessibility & contrast

On white

3.19
#7986F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7986F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986F9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986F9#FFFFFF#000000##000000
##7986F91.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FD
Deuteranopia (green-blind)
#458BF6
Tritanopia (blue-blind)
#419FB4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7986f9;
/* rgb */ color: rgb(121, 134, 249);
/* oklch */ color: oklch(66.4% 0.169 275.9);
Tailwind
colors: {
  custom: {
    50: '#a7a9fc',
    500: '#7986f9',
    950: '#000000',
  },
}
SCSS
$custom: #7986f9;
$custom-light: #a7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7986f9",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 233.906,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.16924,
    "h": 275.9
  },
  "luminance": 0.27955
}

Semantic roles & 50–950 ramp

primary
#7986F9
secondary
#F6F3D5
accent
#CE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7986F9

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

Preview Lab → · Contrast checker → · Palette generator →

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