#7980BC#7980BC

#7980BC is a mid, moderate blue. Relative luminance 0.231; OKLCH L 61.8% C 0.091 H 278.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7980BC
RGBrgb(121, 128, 188)
HSLhsl(234, 33%, 61%)
HSVhsv(234, 36%, 74%)
CMYKcmyk(35.6%, 31.9%, 0%, 26.3%)
CIE-LABlab(55.21, 12.04, -32.28)
CIE-LCHlch(55.21, 34.45, 290.47°)
OKLaboklab(61.83% 0.0131 -0.09)
OKLCHoklch(61.83% 0.091 278.3)
XYZxyz(24.6788, 23.1332, 50.7321)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7980BC #BCB579
analogous
#79A1BC #7980BC #9379BC
triadic
#7980BC #BC7980 #80BC79
tetradic
#7980BC #BC79A1 #BCB579 #79BC93
square
#7980BC #BC79A1 #BCB579 #79BC93
split-complementary
#7980BC #BC9379 #A1BC79
monochromatic
#3E457C #535BA5 #7980BC #A2A7D0 #CBCDE5

Accessibility & contrast

On white

3.73
#7980BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7980BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7980BC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7980BC#FFFFFF#000000##000000
##7980BC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D87BE
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#668B96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7980bc;
/* rgb */ color: rgb(121, 128, 188);
/* oklch */ color: oklch(61.8% 0.091 278.3);
Tailwind
colors: {
  custom: {
    50: '#a2a4d0',
    500: '#7980bc',
    950: '#000000',
  },
}
SCSS
$custom: #7980bc;
$custom-light: #a2a4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7980bc",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 188
  },
  "hsl": {
    "h": 233.731,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.09096,
    "h": 278.3
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#7980BC
secondary
#D5D2BC
accent
#A039AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7980BC

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

Preview Lab → · Contrast checker → · Palette generator →

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