#7980BB#7980BB

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

Color values

HEX#7980BB
RGBrgb(121, 128, 187)
HSLhsl(234, 33%, 60%)
HSVhsv(234, 35%, 73%)
CMYKcmyk(35.3%, 31.6%, 0%, 26.7%)
CIE-LABlab(55.17, 11.77, -31.77)
CIE-LCHlch(55.17, 33.88, 290.33°)
OKLaboklab(61.79% 0.0128 -0.0886)
OKLCHoklch(61.79% 0.089 278.2)
XYZxyz(24.5714, 23.0903, 50.1663)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7980BB #BBB479
analogous
#79A1BB #7980BB #9379BB
triadic
#7980BB #BB7980 #80BB79
tetradic
#7980BB #BB79A1 #BBB479 #79BB93
square
#7980BB #BB79A1 #BBB479 #79BB93
split-complementary
#7980BB #BB9379 #A1BB79
monochromatic
#3E457B #535CA4 #7980BB #A2A6D0 #CACDE4

Accessibility & contrast

On white

3.74
#7980BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7980BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7980BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7980BB#FFFFFF#000000##000000
##7980BB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BD
Deuteranopia (green-blind)
#6A82BA
Tritanopia (blue-blind)
#678B95
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7980bb;
/* rgb */ color: rgb(121, 128, 187);
/* oklch */ color: oklch(61.8% 0.089 278.2);
Tailwind
colors: {
  custom: {
    50: '#a2a4cf',
    500: '#7980bb',
    950: '#000000',
  },
}
SCSS
$custom: #7980bb;
$custom-light: #a2a4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7980bb",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 187
  },
  "hsl": {
    "h": 233.636,
    "s": 32.673,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.08948,
    "h": 278.2
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

primary
#7980BB
secondary
#D5D2BB
accent
#9F3AAB
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#0F0F14
muted
#7F7F82

Preview Lab

Preview with #7980BB

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

Preview Lab → · Contrast checker → · Palette generator →

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