#7980EB#7980EB

#7980EB is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.4% C 0.158 H 278.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7980EB
RGBrgb(121, 128, 235)
HSLhsl(236, 74%, 70%)
HSVhsv(236, 49%, 92%)
CMYKcmyk(48.5%, 45.5%, 0%, 7.8%)
CIE-LABlab(57.56, 25.60, -55.06)
CIE-LCHlch(57.56, 60.72, 294.94°)
OKLaboklab(64.4% 0.0224 -0.1564)
OKLCHoklch(64.4% 0.158 278.2)
XYZxyz(30.5951, 25.4997, 81.8910)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7980EB #EBE479
analogous
#79B9EB #7980EB #AB79EB
triadic
#7980EB #EB7980 #80EB79
tetradic
#7980EB #EB79B9 #EBE479 #79EBAB
square
#7980EB #EB79B9 #EBE479 #79EBAB
split-complementary
#7980EB #EBAB79 #B9EB79
monochromatic
#1E29CB #444EE3 #7980EB #AEB2F3 #E4E5FB

Accessibility & contrast

On white

3.44
#7980EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7980EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7980EB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7980EB#FFFFFF#000000##000000
##7980EB1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#4D97AA
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7980eb;
/* rgb */ color: rgb(121, 128, 235);
/* oklch */ color: oklch(64.4% 0.158 278.2);
Tailwind
colors: {
  custom: {
    50: '#a6a4f2',
    500: '#7980eb',
    950: '#000000',
  },
}
SCSS
$custom: #7980eb;
$custom-light: #a6a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7980eb",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 235
  },
  "hsl": {
    "h": 236.316,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64399,
    "c": 0.15796,
    "h": 278.2
  },
  "luminance": 0.25501
}

Semantic roles & 50–950 ramp

primary
#7980EB
secondary
#F0EED0
accent
#CA0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7980EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7980EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva