#7987BB#7987BB

#7987BB is a light, moderate blue. Relative luminance 0.250; OKLCH L 63.2% C 0.080 H 272.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7987BB
RGBrgb(121, 135, 187)
HSLhsl(227, 33%, 60%)
HSVhsv(227, 35%, 73%)
CMYKcmyk(35.3%, 27.8%, 0%, 26.7%)
CIE-LABlab(57.06, 7.65, -28.84)
CIE-LCHlch(57.06, 29.83, 284.87°)
OKLaboklab(63.25% 0.0033 -0.0801)
OKLCHoklch(63.25% 0.08 272.3)
XYZxyz(25.5162, 24.9797, 50.4812)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987BB #BBAD79
analogous
#79A8BB #7987BB #8C79BB
triadic
#7987BB #BB7987 #87BB79
tetradic
#7987BB #BB79A8 #BBAD79 #79BB8C
square
#7987BB #BB79A8 #BBAD79 #79BB8C
split-complementary
#7987BB #BB8C79 #A8BB79
monochromatic
#3E4B7B #5364A4 #7987BB #A2ABD0 #CAD0E4

Accessibility & contrast

On white

3.50
#7987BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#7987BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987BB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987BB#FFFFFF#000000##000000
##7987BB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#768CBD
Deuteranopia (green-blind)
#7186BA
Tritanopia (blue-blind)
#669199
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7987bb;
/* rgb */ color: rgb(121, 135, 187);
/* oklch */ color: oklch(63.2% 0.080 272.3);
Tailwind
colors: {
  custom: {
    50: '#a1a9cf',
    500: '#7987bb',
    950: '#000000',
  },
}
SCSS
$custom: #7987bb;
$custom-light: #a1a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7987bb",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 227.273,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6325,
    "c": 0.0802,
    "h": 272.3
  },
  "luminance": 0.24981
}

Semantic roles & 50–950 ramp

primary
#7987BB
secondary
#D5CFBB
accent
#933AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7987BB

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

Preview Lab → · Contrast checker → · Palette generator →

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