#7986BA#7986BA

#7986BA is a light, moderate blue. Relative luminance 0.247; OKLCH L 63.0% C 0.080 H 273.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7986BA
RGBrgb(121, 134, 186)
HSLhsl(228, 32%, 60%)
HSVhsv(228, 35%, 73%)
CMYKcmyk(34.9%, 28%, 0%, 27.1%)
CIE-LABlab(56.74, 7.97, -28.75)
CIE-LCHlch(56.74, 29.84, 285.49°)
OKLaboklab(62.99% 0.0044 -0.0799)
OKLCHoklch(62.99% 0.08 273.1)
XYZxyz(25.2706, 24.6593, 49.8731)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986BA #BAAD79
analogous
#79A6BA #7986BA #8C79BA
triadic
#7986BA #BA7986 #86BA79
tetradic
#7986BA #BA79A6 #BAAD79 #79BA8C
square
#7986BA #BA79A6 #BAAD79 #79BA8C
split-complementary
#7986BA #BA8C79 #A6BA79
monochromatic
#3F4B7A #5463A2 #7986BA #A1AACF #CACFE4

Accessibility & contrast

On white

3.54
#7986BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#7986BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986BA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986BA#FFFFFF#000000##000000
##7986BA1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#758BBC
Deuteranopia (green-blind)
#7086B9
Tritanopia (blue-blind)
#669098
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7986ba;
/* rgb */ color: rgb(121, 134, 186);
/* oklch */ color: oklch(63.0% 0.080 273.1);
Tailwind
colors: {
  custom: {
    50: '#a1a9cf',
    500: '#7986ba',
    950: '#000000',
  },
}
SCSS
$custom: #7986ba;
$custom-light: #a1a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7986ba",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 186
  },
  "hsl": {
    "h": 228,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62993,
    "c": 0.08001,
    "h": 273.1
  },
  "luminance": 0.2466
}

Semantic roles & 50–950 ramp

primary
#7986BA
secondary
#D4CFBB
accent
#943BAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #7986BA

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

Preview Lab → · Contrast checker → · Palette generator →

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