#7986FE#7986FE

#7986FE is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.7% C 0.176 H 275.9°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7986FE
RGBrgb(121, 134, 254)
HSLhsl(234, 99%, 74%)
HSVhsv(234, 52%, 100%)
CMYKcmyk(52.4%, 47.2%, 0%, 0.4%)
CIE-LABlab(60.13, 27.81, -61.44)
CIE-LCHlch(60.13, 67.44, 294.35°)
OKLaboklab(66.7% 0.0181 -0.1751)
OKLCHoklch(66.7% 0.176 275.9)
XYZxyz(34.2940, 28.2687, 97.3960)
Luminance0.2827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986FE #FEF179
analogous
#79C8FE #7986FE #AE79FE
triadic
#7986FE #FE7986 #86FE79
tetradic
#7986FE #FE79C8 #FEF179 #79FEAE
square
#7986FE #FE79C8 #FEF179 #79FEAE
split-complementary
#7986FE #FEAE79 #C8FE79
monochromatic
#021AFB #3C4FFE #7986FE #B6BDFE #E1E4FF

Accessibility & contrast

On white

3.16
#7986FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7986FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986FE
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986FE#FFFFFF#000000##000000
##7986FE1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E97FF
Deuteranopia (green-blind)
#3F8CFB
Tritanopia (blue-blind)
#3CA0B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7986fe;
/* rgb */ color: rgb(121, 134, 254);
/* oklch */ color: oklch(66.7% 0.176 275.9);
Tailwind
colors: {
  custom: {
    50: '#a8a9ff',
    500: '#7986fe',
    950: '#000000',
  },
}
SCSS
$custom: #7986fe;
$custom-light: #a8a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7986fe",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 234.135,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66696,
    "c": 0.176,
    "h": 275.9
  },
  "luminance": 0.28271
}

Semantic roles & 50–950 ramp

primary
#7986FE
secondary
#F7F4D4
accent
#CF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7986FE

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

Preview Lab → · Contrast checker → · Palette generator →

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