#7986CD#7986CD

#7986CD is a light, moderate blue. Relative luminance 0.255; OKLCH L 63.9% C 0.108 H 275.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7986CD
RGBrgb(121, 134, 205)
HSLhsl(231, 46%, 64%)
HSVhsv(231, 41%, 80%)
CMYKcmyk(41%, 34.6%, 0%, 19.6%)
CIE-LABlab(57.58, 13.25, -38.22)
CIE-LCHlch(57.58, 40.45, 289.12°)
OKLaboklab(63.92% 0.0095 -0.1072)
OKLCHoklch(63.92% 0.108 275)
XYZxyz(27.4264, 25.5216, 61.2268)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986CD #CDC079
analogous
#79B0CD #7986CD #9679CD
triadic
#7986CD #CD7986 #86CD79
tetradic
#7986CD #CD79B0 #CDC079 #79CD96
square
#7986CD #CD79B0 #CDC079 #79CD96
split-complementary
#7986CD #CD9679 #B0CD79
monochromatic
#374694 #4C5EBC #7986CD #A6AEDE #D2D6EE

Accessibility & contrast

On white

3.44
#7986CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7986CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986CD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986CD#FFFFFF#000000##000000
##7986CD1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED0
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#5E94A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7986cd;
/* rgb */ color: rgb(121, 134, 205);
/* oklch */ color: oklch(63.9% 0.108 275.0);
Tailwind
colors: {
  custom: {
    50: '#a3a9dc',
    500: '#7986cd',
    950: '#000000',
  },
}
SCSS
$custom: #7986cd;
$custom-light: #a3a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7986cd",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 230.714,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63917,
    "c": 0.1076,
    "h": 275
  },
  "luminance": 0.25523
}

Semantic roles & 50–950 ramp

primary
#7986CD
secondary
#E0DBC2
accent
#A32DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7986CD

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

Preview Lab → · Contrast checker → · Palette generator →

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