#7986BF#7986BF

#7986BF is a light, moderate blue. Relative luminance 0.249; OKLCH L 63.2% C 0.087 H 273.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7986BF
RGBrgb(121, 134, 191)
HSLhsl(229, 35%, 61%)
HSVhsv(229, 37%, 75%)
CMYKcmyk(36.6%, 29.8%, 0%, 25.1%)
CIE-LABlab(56.95, 9.33, -31.27)
CIE-LCHlch(56.95, 32.63, 286.62°)
OKLaboklab(63.23% 0.0058 -0.0871)
OKLCHoklch(63.23% 0.087 273.8)
XYZxyz(25.8115, 24.8757, 52.7216)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7986BF #BFB279
analogous
#79A9BF #7986BF #8F79BF
triadic
#7986BF #BF7986 #86BF79
tetradic
#7986BF #BF79A9 #BFB279 #79BF8F
square
#7986BF #BF79A9 #BFB279 #79BF8F
split-complementary
#7986BF #BF8F79 #A9BF79
monochromatic
#3D4A80 #5162AA #7986BF #A2ABD3 #CCD1E7

Accessibility & contrast

On white

3.51
#7986BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7986BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7986BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7986BF#FFFFFF#000000##000000
##7986BF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#748CC1
Deuteranopia (green-blind)
#6E86BE
Tritanopia (blue-blind)
#64919A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7986bf;
/* rgb */ color: rgb(121, 134, 191);
/* oklch */ color: oklch(63.2% 0.087 273.8);
Tailwind
colors: {
  custom: {
    50: '#a2a9d2',
    500: '#7986bf',
    950: '#000000',
  },
}
SCSS
$custom: #7986bf;
$custom-light: #a2a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7986bf",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 228.857,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.0873,
    "h": 273.8
  },
  "luminance": 0.24877
}

Semantic roles & 50–950 ramp

primary
#7986BF
secondary
#D7D2BD
accent
#9837AE
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7986BF

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

Preview Lab → · Contrast checker → · Palette generator →

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