#7979B2#7979B2

#7979B2 is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.9% C 0.086 H 283.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7979B2
RGBrgb(121, 121, 178)
HSLhsl(240, 27%, 59%)
HSVhsv(240, 32%, 70%)
CMYKcmyk(32%, 32%, 0%, 30.2%)
CIE-LABlab(52.90, 13.50, -30.14)
CIE-LCHlch(52.90, 33.02, 294.13°)
OKLaboklab(59.91% 0.0201 -0.0838)
OKLCHoklch(59.91% 0.086 283.5)
XYZxyz(22.7563, 20.9534, 44.9563)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979B2 #B2B279
analogous
#7995B2 #7979B2 #9579B2
triadic
#7979B2 #B27979 #79B279
tetradic
#7979B2 #B27995 #B2B279 #79B295
square
#7979B2 #B27995 #B2B279 #79B295
split-complementary
#7979B2 #B29579 #95B279
monochromatic
#404070 #575797 #7979B2 #A0A0C8 #C7C7DF

Accessibility & contrast

On white

4.05
#7979B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7979B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979B2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979B2#FFFFFF#000000##000000
##7979B21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B4
Deuteranopia (green-blind)
#667CB1
Tritanopia (blue-blind)
#6B838D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7979b2;
/* rgb */ color: rgb(121, 121, 178);
/* oklch */ color: oklch(59.9% 0.086 283.5);
Tailwind
colors: {
  custom: {
    50: '#a19fc9',
    500: '#7979b2',
    950: '#000000',
  },
}
SCSS
$custom: #7979b2;
$custom-light: #a19fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7979b2",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 27.014,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59906,
    "c": 0.08623,
    "h": 283.5
  },
  "luminance": 0.20954
}

Semantic roles & 50–950 ramp

primary
#7979B2
secondary
#CFCFB8
accent
#C364C3
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7979B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7979B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva