#7986F2#7986F2

#7986F2 is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.0% C 0.160 H 275.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7986F2
RGBrgb(121, 134, 242)
HSLhsl(234, 82%, 71%)
HSVhsv(234, 50%, 95%)
CMYKcmyk(50%, 44.6%, 0%, 5.1%)
CIE-LABlab(59.46, 24.15, -55.91)
CIE-LCHlch(59.46, 60.90, 293.36°)
OKLaboklab(65.97% 0.0165 -0.1588)
OKLCHoklch(65.97% 0.16 275.9)
XYZxyz(32.4322, 27.5240, 87.5909)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986F2 #F2E579
analogous
#79C2F2 #7986F2 #A879F2
triadic
#7986F2 #F27986 #86F279
tetradic
#7986F2 #F279C2 #F2E579 #79F2A8
square
#7986F2 #F279C2 #F2E579 #79F2A8
split-complementary
#7986F2 #F2A879 #C2F279
monochromatic
#152BDB #4154ED #7986F2 #B1B8F7 #E3E6FC

Accessibility & contrast

On white

3.23
#7986F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7986F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986F2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986F2#FFFFFF#000000##000000
##7986F21.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#4C8AF0
Tritanopia (blue-blind)
#479DB0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7986f2;
/* rgb */ color: rgb(121, 134, 242);
/* oklch */ color: oklch(66.0% 0.160 275.9);
Tailwind
colors: {
  custom: {
    50: '#a7a9f7',
    500: '#7986f2',
    950: '#000000',
  },
}
SCSS
$custom: #7986f2;
$custom-light: #a7a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7986f2",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 233.554,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65966,
    "c": 0.15969,
    "h": 275.9
  },
  "luminance": 0.27526
}

Semantic roles & 50–950 ramp

primary
#7986F2
secondary
#F3F0D3
accent
#C807DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7986F2

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

Preview Lab → · Contrast checker → · Palette generator →

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