#7986EF#7986EF

#7986EF is a light, vivid blue. Relative luminance 0.273; OKLCH L 65.8% C 0.156 H 275.9°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7986EF
RGBrgb(121, 134, 239)
HSLhsl(233, 79%, 71%)
HSVhsv(233, 49%, 94%)
CMYKcmyk(49.4%, 43.9%, 0%, 6.3%)
CIE-LABlab(59.29, 23.25, -54.51)
CIE-LCHlch(59.29, 59.26, 293.10°)
OKLaboklab(65.79% 0.0161 -0.1547)
OKLCHoklch(65.79% 0.156 275.9)
XYZxyz(31.9854, 27.3452, 85.2374)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986EF #EFE279
analogous
#79C1EF #7986EF #A779EF
triadic
#7986EF #EF7986 #86EF79
tetradic
#7986EF #EF79C1 #EFE279 #79EFA7
square
#7986EF #EF79C1 #EFE279 #79EFA7
split-complementary
#7986EF #EFA779 #C1EF79
monochromatic
#192ED4 #4255E8 #7986EF #B0B7F6 #E4E6FC

Accessibility & contrast

On white

3.25
#7986EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7986EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986EF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986EF#FFFFFF#000000##000000
##7986EF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A94F3
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#499CAF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7986ef;
/* rgb */ color: rgb(121, 134, 239);
/* oklch */ color: oklch(65.8% 0.156 275.9);
Tailwind
colors: {
  custom: {
    50: '#a6a9f5',
    500: '#7986ef',
    950: '#000000',
  },
}
SCSS
$custom: #7986ef;
$custom-light: #a6a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7986ef",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 233.39,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65788,
    "c": 0.15556,
    "h": 275.9
  },
  "luminance": 0.27347
}

Semantic roles & 50–950 ramp

primary
#7986EF
secondary
#F2EED2
accent
#C40BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7986EF

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

Preview Lab → · Contrast checker → · Palette generator →

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