#7986FB#7986FB

#7986FB is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.5% C 0.172 H 275.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7986FB
RGBrgb(121, 134, 251)
HSLhsl(234, 94%, 73%)
HSVhsv(234, 52%, 98%)
CMYKcmyk(51.8%, 46.6%, 0%, 1.6%)
CIE-LABlab(59.96, 26.89, -60.07)
CIE-LCHlch(59.96, 65.81, 294.11°)
OKLaboklab(66.51% 0.0177 -0.171)
OKLCHoklch(66.51% 0.172 275.9)
XYZxyz(33.8173, 28.0780, 94.8857)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986FB #FBEE79
analogous
#79C7FB #7986FB #AD79FB
triadic
#7986FB #FB7986 #86FB79
tetradic
#7986FB #FB79C7 #FBEE79 #79FBAD
square
#7986FB #FB79C7 #FBEE79 #79FBAD
split-complementary
#7986FB #FBAD79 #C7FB79
monochromatic
#071FF2 #3E50F9 #7986FB #B4BCFD #E1E4FE

Accessibility & contrast

On white

3.17
#7986FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7986FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986FB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986FB#FFFFFF#000000##000000
##7986FB1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#3FA0B4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7986fb;
/* rgb */ color: rgb(121, 134, 251);
/* oklch */ color: oklch(66.5% 0.172 275.9);
Tailwind
colors: {
  custom: {
    50: '#a8a9fd',
    500: '#7986fb',
    950: '#000000',
  },
}
SCSS
$custom: #7986fb;
$custom-light: #a8a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7986fb",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 234,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.17195,
    "h": 275.9
  },
  "luminance": 0.2808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7986FB

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

Preview Lab → · Contrast checker → · Palette generator →

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