#7987F0#7987F0

#7987F0 is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.0% C 0.156 H 275.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7987F0
RGBrgb(121, 135, 240)
HSLhsl(233, 80%, 71%)
HSVhsv(233, 50%, 94%)
CMYKcmyk(49.6%, 43.8%, 0%, 5.9%)
CIE-LABlab(59.60, 22.96, -54.57)
CIE-LCHlch(59.60, 59.21, 292.81°)
OKLaboklab(66.04% 0.0151 -0.1549)
OKLCHoklch(66.04% 0.156 275.6)
XYZxyz(32.2724, 27.6822, 86.0638)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987F0 #F0E279
analogous
#79C2F0 #7987F0 #A679F0
triadic
#7987F0 #F07987 #87F079
tetradic
#7987F0 #F079C2 #F0E279 #79F0A6
square
#7987F0 #F079C2 #F0E279 #79F0A6
split-complementary
#7987F0 #F0A679 #C2F079
monochromatic
#182ED7 #4256EA #7987F0 #B0B8F6 #E3E6FC

Accessibility & contrast

On white

3.21
#7987F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7987F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987F0
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987F0#FFFFFF#000000##000000
##7987F01.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F4
Deuteranopia (green-blind)
#508BEE
Tritanopia (blue-blind)
#489DB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7987f0;
/* rgb */ color: rgb(121, 135, 240);
/* oklch */ color: oklch(66.0% 0.156 275.6);
Tailwind
colors: {
  custom: {
    50: '#a6a9f5',
    500: '#7987f0',
    950: '#000000',
  },
}
SCSS
$custom: #7987f0;
$custom-light: #a6a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7987f0",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 232.941,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66041,
    "c": 0.15563,
    "h": 275.6
  },
  "luminance": 0.27684
}

Semantic roles & 50–950 ramp

primary
#7987F0
secondary
#F2EFD2
accent
#C309DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7987F0

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

Preview Lab → · Contrast checker → · Palette generator →

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