#7987ED#7987ED

#7987ED is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.9% C 0.151 H 275.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7987ED
RGBrgb(121, 135, 237)
HSLhsl(233, 76%, 70%)
HSVhsv(233, 49%, 93%)
CMYKcmyk(48.9%, 43%, 0%, 7.1%)
CIE-LABlab(59.44, 22.05, -53.17)
CIE-LCHlch(59.44, 57.56, 292.52°)
OKLaboklab(65.86% 0.0146 -0.1508)
OKLCHoklch(65.86% 0.152 275.5)
XYZxyz(31.8304, 27.5054, 83.7362)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987ED #EDDF79
analogous
#79C1ED #7987ED #A579ED
triadic
#7987ED #ED7987 #87ED79
tetradic
#7987ED #ED79C1 #EDDF79 #79EDA5
square
#7987ED #ED79C1 #EDDF79 #79EDA5
split-complementary
#7987ED #EDA579 #C1ED79
monochromatic
#1C32D0 #4357E6 #7987ED #AFB7F4 #E4E7FB

Accessibility & contrast

On white

3.23
#7987ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7987ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987ED
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987ED#FFFFFF#000000##000000
##7987ED1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#4B9DAE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7987ed;
/* rgb */ color: rgb(121, 135, 237);
/* oklch */ color: oklch(65.9% 0.151 275.5);
Tailwind
colors: {
  custom: {
    50: '#a6a9f3',
    500: '#7987ed',
    950: '#000000',
  },
}
SCSS
$custom: #7987ed;
$custom-light: #a6a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7987ed",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 232.759,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65865,
    "c": 0.1515,
    "h": 275.5
  },
  "luminance": 0.27507
}

Semantic roles & 50–950 ramp

primary
#7987ED
secondary
#F1EDD1
accent
#C00DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7987ED

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

Preview Lab → · Contrast checker → · Palette generator →

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