#7987EF#7987EF

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

Color values

HEX#7987EF
RGBrgb(121, 135, 239)
HSLhsl(233, 79%, 71%)
HSVhsv(233, 49%, 94%)
CMYKcmyk(49.4%, 43.5%, 0%, 6.3%)
CIE-LABlab(59.55, 22.65, -54.11)
CIE-LCHlch(59.55, 58.66, 292.72°)
OKLaboklab(65.98% 0.015 -0.1535)
OKLCHoklch(65.98% 0.154 275.6)
XYZxyz(32.1242, 27.6230, 85.2836)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7987EF #EFE179
analogous
#79C2EF #7987EF #A679EF
triadic
#7987EF #EF7987 #87EF79
tetradic
#7987EF #EF79C2 #EFE179 #79EFA6
square
#7987EF #EF79C2 #EFE179 #79EFA6
split-complementary
#7987EF #EFA679 #C2EF79
monochromatic
#1930D4 #4256E8 #7987EF #B0B8F6 #E4E7FC

Accessibility & contrast

On white

3.22
#7987EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7987EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7987EF
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7987EF#FFFFFF#000000##000000
##7987EF1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#499DAF
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7987ef;
/* rgb */ color: rgb(121, 135, 239);
/* oklch */ color: oklch(66.0% 0.154 275.6);
Tailwind
colors: {
  custom: {
    50: '#a6a9f5',
    500: '#7987ef',
    950: '#000000',
  },
}
SCSS
$custom: #7987ef;
$custom-light: #a6a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7987ef",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 232.881,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65982,
    "c": 0.15426,
    "h": 275.6
  },
  "luminance": 0.27625
}

Semantic roles & 50–950 ramp

primary
#7987EF
secondary
#F2EED2
accent
#C20BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7987EF

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

Preview Lab → · Contrast checker → · Palette generator →

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