#7986D5#7986D5

#7986D5 is a light, moderate blue. Relative luminance 0.259; OKLCH L 64.3% C 0.119 H 275.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7986D5
RGBrgb(121, 134, 213)
HSLhsl(232, 52%, 65%)
HSVhsv(232, 43%, 84%)
CMYKcmyk(43.2%, 37.1%, 0%, 16.5%)
CIE-LABlab(57.96, 15.55, -42.12)
CIE-LCHlch(57.96, 44.90, 290.26°)
OKLaboklab(64.33% 0.0113 -0.1185)
OKLCHoklch(64.33% 0.119 275.4)
XYZxyz(28.4168, 25.9178, 66.4432)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986D5 #D5C879
analogous
#79B4D5 #7986D5 #9A79D5
triadic
#7986D5 #D57986 #86D579
tetradic
#7986D5 #D579B4 #D5C879 #79D59A
square
#7986D5 #D579B4 #D5C879 #79D59A
split-complementary
#7986D5 #D59A79 #B4D579
monochromatic
#3242A1 #4A5CC6 #7986D5 #A8B0E4 #D6DAF2

Accessibility & contrast

On white

3.40
#7986D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7986D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986D5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986D5#FFFFFF#000000##000000
##7986D51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8FD8
Deuteranopia (green-blind)
#6388D3
Tritanopia (blue-blind)
#5A96A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7986d5;
/* rgb */ color: rgb(121, 134, 213);
/* oklch */ color: oklch(64.3% 0.119 275.4);
Tailwind
colors: {
  custom: {
    50: '#a4a9e2',
    500: '#7986d5',
    950: '#000000',
  },
}
SCSS
$custom: #7986d5;
$custom-light: #a4a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7986d5",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 213
  },
  "hsl": {
    "h": 231.522,
    "s": 52.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64333,
    "c": 0.11907,
    "h": 275.4
  },
  "luminance": 0.25919
}

Semantic roles & 50–950 ramp

primary
#7986D5
secondary
#E4E0C5
accent
#AA26C0
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7986D5

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

Preview Lab → · Contrast checker → · Palette generator →

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