#7987FD#7987FD

#7987FD is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.173 H 275.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7987FD
RGBrgb(121, 135, 253)
HSLhsl(234, 97%, 73%)
HSVhsv(234, 52%, 99%)
CMYKcmyk(52.2%, 46.6%, 0%, 0.8%)
CIE-LABlab(60.32, 26.91, -60.59)
CIE-LCHlch(60.32, 66.30, 293.95°)
OKLaboklab(66.82% 0.0169 -0.1725)
OKLCHoklch(66.82% 0.173 275.6)
XYZxyz(34.2731, 28.4825, 96.6011)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987FD #FDEF79
analogous
#79C9FD #7987FD #AD79FD
triadic
#7987FD #FD7987 #87FD79
tetradic
#7987FD #FD79C9 #FDEF79 #79FDAD
square
#7987FD #FD79C9 #FDEF79 #79FDAD
split-complementary
#7987FD #FDAD79 #C9FD79
monochromatic
#041EF8 #3D51FC #7987FD #B5BDFE #E1E4FF

Accessibility & contrast

On white

3.14
#7987FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7987FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987FD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987FD#FFFFFF#000000##000000
##7987FD1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#428CFA
Tritanopia (blue-blind)
#3CA1B6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7987fd;
/* rgb */ color: rgb(121, 135, 253);
/* oklch */ color: oklch(66.8% 0.173 275.6);
Tailwind
colors: {
  custom: {
    50: '#a8a9ff',
    500: '#7987fd',
    950: '#000000',
  },
}
SCSS
$custom: #7987fd;
$custom-light: #a8a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7987fd",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 233.636,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66823,
    "c": 0.17337,
    "h": 275.6
  },
  "luminance": 0.28485
}

Semantic roles & 50–950 ramp

primary
#7987FD
secondary
#F7F3D4
accent
#CD00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7987FD

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

Preview Lab → · Contrast checker → · Palette generator →

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