#7986F8#7986F8

#7986F8 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.3% C 0.168 H 275.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7986F8
RGBrgb(121, 134, 248)
HSLhsl(234, 90%, 72%)
HSVhsv(234, 51%, 97%)
CMYKcmyk(51.2%, 46%, 0%, 2.7%)
CIE-LABlab(59.79, 25.97, -58.69)
CIE-LCHlch(59.79, 64.18, 293.87°)
OKLaboklab(66.33% 0.0173 -0.167)
OKLCHoklch(66.33% 0.168 275.9)
XYZxyz(33.3482, 27.8904, 92.4149)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986F8 #F8EB79
analogous
#79C6F8 #7986F8 #AB79F8
triadic
#7986F8 #F87986 #86F879
tetradic
#7986F8 #F879C6 #F8EB79 #79F8AB
square
#7986F8 #F879C6 #F8EB79 #79F8AB
split-complementary
#7986F8 #F8AB79 #C6F879
monochromatic
#0C23EA #3F51F5 #7986F8 #B3BBFB #E2E5FD

Accessibility & contrast

On white

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

On black

6.58
#7986F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986F8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986F8#FFFFFF#000000##000000
##7986F81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FC
Deuteranopia (green-blind)
#468BF6
Tritanopia (blue-blind)
#429FB3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7986f8;
/* rgb */ color: rgb(121, 134, 248);
/* oklch */ color: oklch(66.3% 0.168 275.9);
Tailwind
colors: {
  custom: {
    50: '#a7a9fb',
    500: '#7986f8',
    950: '#000000',
  },
}
SCSS
$custom: #7986f8;
$custom-light: #a7a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7986f8",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 248
  },
  "hsl": {
    "h": 233.858,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66327,
    "c": 0.16788,
    "h": 275.9
  },
  "luminance": 0.27892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7986F8

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

Preview Lab → · Contrast checker → · Palette generator →

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