#7987BC#7987BC

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

Color values

HEX#7987BC
RGBrgb(121, 135, 188)
HSLhsl(227, 33%, 61%)
HSVhsv(227, 36%, 74%)
CMYKcmyk(35.6%, 28.2%, 0%, 26.3%)
CIE-LABlab(57.10, 7.93, -29.34)
CIE-LCHlch(57.10, 30.39, 285.12°)
OKLaboklab(63.3% 0.0036 -0.0816)
OKLCHoklch(63.3% 0.082 272.5)
XYZxyz(25.6236, 25.0227, 51.0470)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987BC #BCAE79
analogous
#79A8BC #7987BC #8C79BC
triadic
#7987BC #BC7987 #87BC79
tetradic
#7987BC #BC79A8 #BCAE79 #79BC8C
square
#7987BC #BC79A8 #BCAE79 #79BC8C
split-complementary
#7987BC #BC8C79 #A8BC79
monochromatic
#3E4B7C #5364A5 #7987BC #A2ACD0 #CBD0E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7987BC#FFFFFF#000000##000000
##7987BC1.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)
#768CBE
Deuteranopia (green-blind)
#7186BB
Tritanopia (blue-blind)
#66919A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7987bc;
/* rgb */ color: rgb(121, 135, 188);
/* oklch */ color: oklch(63.3% 0.082 272.5);
Tailwind
colors: {
  custom: {
    50: '#a2a9d0',
    500: '#7987bc',
    950: '#000000',
  },
}
SCSS
$custom: #7987bc;
$custom-light: #a2a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7987bc",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 227.463,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63296,
    "c": 0.08166,
    "h": 272.5
  },
  "luminance": 0.25024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7987BC

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

Preview Lab → · Contrast checker → · Palette generator →

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