#7987CD#7987CD

#7987CD is a light, moderate blue. Relative luminance 0.258; OKLCH L 64.1% C 0.106 H 274.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7987CD
RGBrgb(121, 135, 205)
HSLhsl(230, 46%, 64%)
HSVhsv(230, 41%, 80%)
CMYKcmyk(41%, 34.1%, 0%, 19.6%)
CIE-LABlab(57.85, 12.66, -37.80)
CIE-LCHlch(57.85, 39.86, 288.52°)
OKLaboklab(64.12% 0.0082 -0.106)
OKLCHoklch(64.12% 0.106 274.4)
XYZxyz(27.5653, 25.7994, 61.2731)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987CD #CDBF79
analogous
#79B1CD #7987CD #9579CD
triadic
#7987CD #CD7987 #87CD79
tetradic
#7987CD #CD79B1 #CDBF79 #79CD95
square
#7987CD #CD79B1 #CDBF79 #79CD95
split-complementary
#7987CD #CD9579 #B1CD79
monochromatic
#374794 #4C5FBC #7987CD #A6AFDE #D2D7EE

Accessibility & contrast

On white

3.41
#7987CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7987CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987CD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987CD#FFFFFF#000000##000000
##7987CD1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD0
Deuteranopia (green-blind)
#6888CB
Tritanopia (blue-blind)
#5E95A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7987cd;
/* rgb */ color: rgb(121, 135, 205);
/* oklch */ color: oklch(64.1% 0.106 274.4);
Tailwind
colors: {
  custom: {
    50: '#a3a9dc',
    500: '#7987cd',
    950: '#000000',
  },
}
SCSS
$custom: #7987cd;
$custom-light: #a3a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7987cd",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 230,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64122,
    "c": 0.10628,
    "h": 274.4
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#7987CD
secondary
#E0DBC2
accent
#A12DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7987CD

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

Preview Lab → · Contrast checker → · Palette generator →

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