#7980DC#7980DC

#7980DC is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.5% C 0.137 H 278.4°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7980DC
RGBrgb(121, 128, 220)
HSLhsl(236, 59%, 67%)
HSVhsv(236, 45%, 86%)
CMYKcmyk(45%, 41.8%, 0%, 13.7%)
CIE-LABlab(56.75, 21.15, -47.96)
CIE-LCHlch(56.75, 52.42, 293.80°)
OKLaboklab(63.52% 0.0201 -0.1356)
OKLCHoklch(63.52% 0.137 278.4)
XYZxyz(28.5187, 24.6692, 70.9552)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7980DC #DCD579
analogous
#79B1DC #7980DC #A479DC
triadic
#7980DC #DC7980 #80DC79
tetradic
#7980DC #DC79B1 #DCD579 #79DCA4
square
#7980DC #DC79B1 #DCD579 #79DCA4
split-complementary
#7980DC #DCA479 #B1DC79
monochromatic
#2D36AD #4852CF #7980DC #AAAEE9 #DADCF5

Accessibility & contrast

On white

3.54
#7980DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#7980DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7980DC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7980DC#FFFFFF#000000##000000
##7980DC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CE0
Deuteranopia (green-blind)
#5685DA
Tritanopia (blue-blind)
#5793A3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7980dc;
/* rgb */ color: rgb(121, 128, 220);
/* oklch */ color: oklch(63.5% 0.137 278.4);
Tailwind
colors: {
  custom: {
    50: '#a4a4e7',
    500: '#7980dc',
    950: '#000000',
  },
}
SCSS
$custom: #7980dc;
$custom-light: #a4a4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7980dc",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 220
  },
  "hsl": {
    "h": 235.758,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63523,
    "c": 0.13707,
    "h": 278.4
  },
  "luminance": 0.24671
}

Semantic roles & 50–950 ramp

primary
#7980DC
secondary
#E8E6C9
accent
#BA1FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7980DC

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

Preview Lab → · Contrast checker → · Palette generator →

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