#7987D5#7987D5

#7987D5 is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.5% C 0.118 H 274.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7987D5
RGBrgb(121, 135, 213)
HSLhsl(231, 52%, 65%)
HSVhsv(231, 43%, 84%)
CMYKcmyk(43.2%, 36.6%, 0%, 16.5%)
CIE-LABlab(58.22, 14.96, -41.71)
CIE-LCHlch(58.22, 44.31, 289.73°)
OKLaboklab(64.54% 0.01 -0.1173)
OKLCHoklch(64.54% 0.118 274.9)
XYZxyz(28.5557, 26.1956, 66.4895)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987D5 #D5C779
analogous
#79B5D5 #7987D5 #9979D5
triadic
#7987D5 #D57987 #87D579
tetradic
#7987D5 #D579B5 #D5C779 #79D599
square
#7987D5 #D579B5 #D5C779 #79D599
split-complementary
#7987D5 #D59979 #B5D579
monochromatic
#3243A1 #4A5DC6 #7987D5 #A8B1E4 #D6DAF2

Accessibility & contrast

On white

3.37
#7987D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7987D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987D5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987D5#FFFFFF#000000##000000
##7987D51.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B90D8
Deuteranopia (green-blind)
#6488D3
Tritanopia (blue-blind)
#5A97A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7987d5;
/* rgb */ color: rgb(121, 135, 213);
/* oklch */ color: oklch(64.5% 0.118 274.9);
Tailwind
colors: {
  custom: {
    50: '#a4a9e2',
    500: '#7987d5',
    950: '#000000',
  },
}
SCSS
$custom: #7987d5;
$custom-light: #a4a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7987d5",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 230.87,
    "s": 52.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64536,
    "c": 0.11775,
    "h": 274.9
  },
  "luminance": 0.26197
}

Semantic roles & 50–950 ramp

primary
#7987D5
secondary
#E4E0C5
accent
#A826C0
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7987D5

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

Preview Lab → · Contrast checker → · Palette generator →

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