#7986BC#7986BC

#7986BC is a light, moderate blue. Relative luminance 0.247; OKLCH L 63.1% C 0.083 H 273.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7986BC
RGBrgb(121, 134, 188)
HSLhsl(228, 33%, 61%)
HSVhsv(228, 36%, 74%)
CMYKcmyk(35.6%, 28.7%, 0%, 26.3%)
CIE-LABlab(56.83, 8.51, -29.76)
CIE-LCHlch(56.83, 30.95, 285.96°)
OKLaboklab(63.09% 0.0049 -0.0828)
OKLCHoklch(63.09% 0.083 273.4)
XYZxyz(25.4847, 24.7450, 51.0007)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986BC #BCAF79
analogous
#79A7BC #7986BC #8D79BC
triadic
#7986BC #BC7986 #86BC79
tetradic
#7986BC #BC79A7 #BCAF79 #79BC8D
square
#7986BC #BC79A7 #BCAF79 #79BC8D
split-complementary
#7986BC #BC8D79 #A7BC79
monochromatic
#3E4A7C #5363A5 #7986BC #A2ABD0 #CBD0E5

Accessibility & contrast

On white

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

On black

5.95
#7986BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986BC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986BC#FFFFFF#000000##000000
##7986BC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#758BBE
Deuteranopia (green-blind)
#7086BB
Tritanopia (blue-blind)
#669199
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7986bc;
/* rgb */ color: rgb(121, 134, 188);
/* oklch */ color: oklch(63.1% 0.083 273.4);
Tailwind
colors: {
  custom: {
    50: '#a2a9d0',
    500: '#7986bc',
    950: '#000000',
  },
}
SCSS
$custom: #7986bc;
$custom-light: #a2a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7986bc",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 228.358,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63086,
    "c": 0.08293,
    "h": 273.4
  },
  "luminance": 0.24746
}

Semantic roles & 50–950 ramp

primary
#7986BC
secondary
#D5D0BC
accent
#9639AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7986BC

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

Preview Lab → · Contrast checker → · Palette generator →

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