#7986EA#7986EA

#7986EA is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.5% C 0.149 H 275.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7986EA
RGBrgb(121, 134, 234)
HSLhsl(233, 73%, 70%)
HSVhsv(233, 48%, 92%)
CMYKcmyk(48.3%, 42.7%, 0%, 8.2%)
CIE-LABlab(59.02, 21.74, -52.17)
CIE-LCHlch(59.02, 56.52, 292.63°)
OKLaboklab(65.5% 0.0153 -0.1478)
OKLCHoklch(65.5% 0.149 275.9)
XYZxyz(31.2569, 27.0539, 81.4008)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986EA #EADD79
analogous
#79BFEA #7986EA #A479EA
triadic
#7986EA #EA7986 #86EA79
tetradic
#7986EA #EA79BF #EADD79 #79EAA4
square
#7986EA #EA79BF #EADD79 #79EAA4
split-complementary
#7986EA #EAA479 #BFEA79
monochromatic
#2033C9 #4456E2 #7986EA #AEB6F2 #E3E6FB

Accessibility & contrast

On white

3.28
#7986EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7986EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986EA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986EA#FFFFFF#000000##000000
##7986EA1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#4D9BAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7986ea;
/* rgb */ color: rgb(121, 134, 234);
/* oklch */ color: oklch(65.5% 0.149 275.9);
Tailwind
colors: {
  custom: {
    50: '#a6a9f1',
    500: '#7986ea',
    950: '#000000',
  },
}
SCSS
$custom: #7986ea;
$custom-light: #a6a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7986ea",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 233.097,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65497,
    "c": 0.14864,
    "h": 275.9
  },
  "luminance": 0.27056
}

Semantic roles & 50–950 ramp

primary
#7986EA
secondary
#F0ECCF
accent
#BE11D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7986EA

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

Preview Lab → · Contrast checker → · Palette generator →

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