#7986DF#7986DF

#7986DF is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.9% C 0.133 H 275.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7986DF
RGBrgb(121, 134, 223)
HSLhsl(232, 61%, 67%)
HSVhsv(232, 46%, 87%)
CMYKcmyk(45.7%, 39.9%, 0%, 12.5%)
CIE-LABlab(58.45, 18.47, -46.94)
CIE-LCHlch(58.45, 50.45, 291.48°)
OKLaboklab(64.87% 0.0134 -0.1326)
OKLCHoklch(64.87% 0.133 275.8)
XYZxyz(29.7254, 26.4413, 73.3351)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986DF #DFD279
analogous
#79B9DF #7986DF #9F79DF
triadic
#7986DF #DF7986 #86DF79
tetradic
#7986DF #DF79B9 #DFD279 #79DF9F
square
#7986DF #DF79B9 #DFD279 #79DF9F
split-complementary
#7986DF #DF9F79 #B9DF79
monochromatic
#2B3CB3 #4859D3 #7986DF #AAB3EB #DCDFF7

Accessibility & contrast

On white

3.34
#7986DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7986DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986DF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986DF#FFFFFF#000000##000000
##7986DF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E2
Deuteranopia (green-blind)
#5C89DD
Tritanopia (blue-blind)
#5598A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7986df;
/* rgb */ color: rgb(121, 134, 223);
/* oklch */ color: oklch(64.9% 0.133 275.8);
Tailwind
colors: {
  custom: {
    50: '#a5a9e9',
    500: '#7986df',
    950: '#000000',
  },
}
SCSS
$custom: #7986df;
$custom-light: #a5a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7986df",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 232.353,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.13326,
    "h": 275.8
  },
  "luminance": 0.26443
}

Semantic roles & 50–950 ramp

primary
#7986DF
secondary
#EAE6CA
accent
#B31CC9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7986DF

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

Preview Lab → · Contrast checker → · Palette generator →

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