#7986FC#7986FC

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

Color values

HEX#7986FC
RGBrgb(121, 134, 252)
HSLhsl(234, 96%, 73%)
HSVhsv(234, 52%, 99%)
CMYKcmyk(52%, 46.8%, 0%, 1.2%)
CIE-LABlab(60.02, 27.19, -60.53)
CIE-LCHlch(60.02, 66.36, 294.19°)
OKLaboklab(66.57% 0.0178 -0.1724)
OKLCHoklch(66.57% 0.173 275.9)
XYZxyz(33.9754, 28.1412, 95.7181)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986FC #FCEF79
analogous
#79C7FC #7986FC #AD79FC
triadic
#7986FC #FC7986 #86FC79
tetradic
#7986FC #FC79C7 #FCEF79 #79FCAD
square
#7986FC #FC79C7 #FCEF79 #79FCAD
split-complementary
#7986FC #FCAD79 #C7FC79
monochromatic
#051DF5 #3D50FB #7986FC #B5BCFD #E1E4FE

Accessibility & contrast

On white

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

On black

6.63
#7986FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986FC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986FC#FFFFFF#000000##000000
##7986FC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#418BF9
Tritanopia (blue-blind)
#3EA0B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7986fc;
/* rgb */ color: rgb(121, 134, 252);
/* oklch */ color: oklch(66.6% 0.173 275.9);
Tailwind
colors: {
  custom: {
    50: '#a8a9fe',
    500: '#7986fc',
    950: '#000000',
  },
}
SCSS
$custom: #7986fc;
$custom-light: #a8a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7986fc",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 234.046,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66572,
    "c": 0.1733,
    "h": 275.9
  },
  "luminance": 0.28143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7986FC

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

Preview Lab → · Contrast checker → · Palette generator →

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