#7986FD#7986FD

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

Color values

HEX#7986FD
RGBrgb(121, 134, 253)
HSLhsl(234, 97%, 73%)
HSVhsv(234, 52%, 99%)
CMYKcmyk(52.2%, 47%, 0%, 0.8%)
CIE-LABlab(60.07, 27.50, -60.99)
CIE-LCHlch(60.07, 66.90, 294.27°)
OKLaboklab(66.63% 0.0179 -0.1737)
OKLCHoklch(66.63% 0.175 275.9)
XYZxyz(34.1342, 28.2048, 96.5548)
Luminance0.2821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986FD #FDF079
analogous
#79C8FD #7986FD #AE79FD
triadic
#7986FD #FD7986 #86FD79
tetradic
#7986FD #FD79C8 #FDF079 #79FDAE
square
#7986FD #FD79C8 #FDF079 #79FDAE
split-complementary
#7986FD #FDAE79 #C8FD79
monochromatic
#041CF8 #3D50FC #7986FD #B5BCFE #E1E4FF

Accessibility & contrast

On white

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

On black

6.64
#7986FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986FD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986FD#FFFFFF#000000##000000
##7986FD1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#408CFA
Tritanopia (blue-blind)
#3DA0B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7986fd;
/* rgb */ color: rgb(121, 134, 253);
/* oklch */ color: oklch(66.6% 0.175 275.9);
Tailwind
colors: {
  custom: {
    50: '#a8a9ff',
    500: '#7986fd',
    950: '#000000',
  },
}
SCSS
$custom: #7986fd;
$custom-light: #a8a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7986fd",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 234.091,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66634,
    "c": 0.17465,
    "h": 275.9
  },
  "luminance": 0.28207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7986FD

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

Preview Lab → · Contrast checker → · Palette generator →

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