#7986BB#7986BB

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

Color values

HEX#7986BB
RGBrgb(121, 134, 187)
HSLhsl(228, 33%, 60%)
HSVhsv(228, 35%, 73%)
CMYKcmyk(35.3%, 28.3%, 0%, 26.7%)
CIE-LABlab(56.78, 8.24, -29.26)
CIE-LCHlch(56.78, 30.39, 285.73°)
OKLaboklab(63.04% 0.0046 -0.0813)
OKLCHoklch(63.04% 0.081 273.3)
XYZxyz(25.3773, 24.7020, 50.4349)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986BB #BBAE79
analogous
#79A7BB #7986BB #8D79BB
triadic
#7986BB #BB7986 #86BB79
tetradic
#7986BB #BB79A7 #BBAE79 #79BB8D
square
#7986BB #BB79A7 #BBAE79 #79BB8D
split-complementary
#7986BB #BB8D79 #A7BB79
monochromatic
#3E4A7B #5363A4 #7986BB #A2ABD0 #CACFE4

Accessibility & contrast

On white

3.53
#7986BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#7986BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986BB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986BB#FFFFFF#000000##000000
##7986BB1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#758BBD
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#669099
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7986bb;
/* rgb */ color: rgb(121, 134, 187);
/* oklch */ color: oklch(63.0% 0.081 273.3);
Tailwind
colors: {
  custom: {
    50: '#a1a9cf',
    500: '#7986bb',
    950: '#000000',
  },
}
SCSS
$custom: #7986bb;
$custom-light: #a1a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7986bb",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 228.182,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63039,
    "c": 0.08147,
    "h": 273.3
  },
  "luminance": 0.24703
}

Semantic roles & 50–950 ramp

primary
#7986BB
secondary
#D5D0BB
accent
#953AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7986BB

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

Preview Lab → · Contrast checker → · Palette generator →

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