#7986CF#7986CF

#7986CF is a light, moderate blue. Relative luminance 0.256; OKLCH L 64.0% C 0.110 H 275.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7986CF
RGBrgb(121, 134, 207)
HSLhsl(231, 47%, 64%)
HSVhsv(231, 42%, 81%)
CMYKcmyk(41.5%, 35.3%, 0%, 18.8%)
CIE-LABlab(57.67, 13.82, -39.20)
CIE-LCHlch(57.67, 41.56, 289.42°)
OKLaboklab(64.02% 0.0099 -0.11)
OKLCHoklch(64.02% 0.11 275.2)
XYZxyz(27.6693, 25.6188, 62.5064)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986CF #CFC279
analogous
#79B1CF #7986CF #9779CF
triadic
#7986CF #CF7986 #86CF79
tetradic
#7986CF #CF79B1 #CFC279 #79CF97
square
#7986CF #CF79B1 #CFC279 #79CF97
split-complementary
#7986CF #CF9779 #B1CF79
monochromatic
#364597 #4C5DBF #7986CF #A6AFDF #D3D7EF

Accessibility & contrast

On white

3.43
#7986CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7986CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986CF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986CF#FFFFFF#000000##000000
##7986CF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED2
Deuteranopia (green-blind)
#6687CD
Tritanopia (blue-blind)
#5D95A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7986cf;
/* rgb */ color: rgb(121, 134, 207);
/* oklch */ color: oklch(64.0% 0.110 275.2);
Tailwind
colors: {
  custom: {
    50: '#a3a9de',
    500: '#7986cf',
    950: '#000000',
  },
}
SCSS
$custom: #7986cf;
$custom-light: #a3a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#7986cf",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 230.93,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6402,
    "c": 0.11048,
    "h": 275.2
  },
  "luminance": 0.2562
}

Semantic roles & 50–950 ramp

primary
#7986CF
secondary
#E1DCC3
accent
#A52BBB
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7986CF

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

Preview Lab → · Contrast checker → · Palette generator →

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