#7980EC#7980EC

#7980EC is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.5% C 0.159 H 278.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7980EC
RGBrgb(121, 128, 236)
HSLhsl(236, 75%, 70%)
HSVhsv(236, 49%, 93%)
CMYKcmyk(48.7%, 45.8%, 0%, 7.5%)
CIE-LABlab(57.61, 25.90, -55.52)
CIE-LCHlch(57.61, 61.27, 295.01°)
OKLaboklab(64.46% 0.0225 -0.1577)
OKLCHoklch(64.46% 0.159 278.1)
XYZxyz(30.7400, 25.5577, 82.6540)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7980EC #ECE579
analogous
#79B9EC #7980EC #AC79EC
triadic
#7980EC #EC7980 #80EC79
tetradic
#7980EC #EC79B9 #ECE579 #79ECAC
square
#7980EC #EC79B9 #ECE579 #79ECAC
split-complementary
#7980EC #ECAC79 #B9EC79
monochromatic
#1D28CD #434DE4 #7980EC #AFB3F4 #E4E6FB

Accessibility & contrast

On white

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

On black

6.11
#7980EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7980EC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7980EC#FFFFFF#000000##000000
##7980EC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#4886EA
Tritanopia (blue-blind)
#4D97AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7980ec;
/* rgb */ color: rgb(121, 128, 236);
/* oklch */ color: oklch(64.5% 0.159 278.1);
Tailwind
colors: {
  custom: {
    50: '#a6a4f3',
    500: '#7980ec',
    950: '#000000',
  },
}
SCSS
$custom: #7980ec;
$custom-light: #a6a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7980ec",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 236.348,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.6446,
    "c": 0.15933,
    "h": 278.1
  },
  "luminance": 0.25559
}

Semantic roles & 50–950 ramp

primary
#7980EC
secondary
#F0EFD0
accent
#CB0ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7980EC

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

Preview Lab → · Contrast checker → · Palette generator →

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