#7981EF#7981EF

#7981EF is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.8% C 0.162 H 277.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7981EF
RGBrgb(121, 129, 239)
HSLhsl(236, 79%, 71%)
HSVhsv(236, 49%, 94%)
CMYKcmyk(49.4%, 46%, 0%, 6.3%)
CIE-LABlab(58.03, 26.21, -56.52)
CIE-LCHlch(58.03, 62.30, 294.88°)
OKLaboklab(64.83% 0.0218 -0.1607)
OKLCHoklch(64.83% 0.162 277.7)
XYZxyz(31.3106, 25.9956, 85.0124)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7981EF #EFE779
analogous
#79BCEF #7981EF #AC79EF
triadic
#7981EF #EF7981 #81EF79
tetradic
#7981EF #EF79BC #EFE779 #79EFAC
square
#7981EF #EF79BC #EFE779 #79EFAC
split-complementary
#7981EF #EFAC79 #BCEF79
monochromatic
#1926D4 #424EE8 #7981EF #B0B4F6 #E4E5FC

Accessibility & contrast

On white

3.39
#7981EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7981EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7981EF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7981EF#FFFFFF#000000##000000
##7981EF1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#4787ED
Tritanopia (blue-blind)
#4A99AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7981ef;
/* rgb */ color: rgb(121, 129, 239);
/* oklch */ color: oklch(64.8% 0.162 277.7);
Tailwind
colors: {
  custom: {
    50: '#a6a5f5',
    500: '#7981ef',
    950: '#000000',
  },
}
SCSS
$custom: #7981ef;
$custom-light: #a6a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7981ef",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 235.932,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64831,
    "c": 0.16213,
    "h": 277.7
  },
  "luminance": 0.25997
}

Semantic roles & 50–950 ramp

primary
#7981EF
secondary
#F2F0D2
accent
#CD0BDB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7981EF

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

Preview Lab → · Contrast checker → · Palette generator →

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