#7987AD#7987AD

#7987AD is a light, muted blue. Relative luminance 0.244; OKLCH L 62.6% C 0.060 H 268.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7987AD
RGBrgb(121, 135, 173)
HSLhsl(224, 24%, 58%)
HSVhsv(224, 30%, 68%)
CMYKcmyk(30.1%, 22%, 0%, 32.2%)
CIE-LABlab(56.50, 3.94, -21.71)
CIE-LCHlch(56.50, 22.06, 280.30°)
OKLaboklab(62.63% -0.0011 -0.0598)
OKLCHoklch(62.63% 0.06 268.9)
XYZxyz(24.0898, 24.4092, 42.9693)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987AD #AD9F79
analogous
#79A1AD #7987AD #8579AD
triadic
#7987AD #AD7987 #87AD79
tetradic
#7987AD #AD79A1 #AD9F79 #79AD85
square
#7987AD #AD79A1 #AD9F79 #79AD85
split-complementary
#7987AD #AD8579 #A1AD79
monochromatic
#414C6A #586790 #7987AD #9FA9C4 #C5CBDB

Accessibility & contrast

On white

3.57
#7987AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7987AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987AD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987AD#FFFFFF#000000##000000
##7987AD1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8AAF
Deuteranopia (green-blind)
#7785AC
Tritanopia (blue-blind)
#6B8E94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7987ad;
/* rgb */ color: rgb(121, 135, 173);
/* oklch */ color: oklch(62.6% 0.060 268.9);
Tailwind
colors: {
  custom: {
    50: '#a1a9c5',
    500: '#7987ad',
    950: '#000000',
  },
}
SCSS
$custom: #7987ad;
$custom-light: #a1a9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7987ad",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 223.846,
    "s": 24.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62629,
    "c": 0.05984,
    "h": 268.9
  },
  "luminance": 0.2441
}

Semantic roles & 50–950 ramp

primary
#7987AD
secondary
#CBC6B6
accent
#A867C1
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #7987AD

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

Preview Lab → · Contrast checker → · Palette generator →

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