#7979BC#7979BC

#7979BC is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.4% C 0.101 H 283.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7979BC
RGBrgb(121, 121, 188)
HSLhsl(240, 33%, 61%)
HSVhsv(240, 36%, 74%)
CMYKcmyk(35.6%, 35.6%, 0%, 26.3%)
CIE-LABlab(53.35, 16.21, -35.18)
CIE-LCHlch(53.35, 38.73, 294.74°)
OKLaboklab(60.4% 0.0226 -0.0984)
OKLCHoklch(60.4% 0.101 283)
XYZxyz(23.7971, 21.3698, 50.4381)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979BC #BCBC79
analogous
#799ABC #7979BC #9A79BC
triadic
#7979BC #BC7979 #79BC79
tetradic
#7979BC #BC799A #BCBC79 #79BC9A
square
#7979BC #BC799A #BCBC79 #79BC9A
split-complementary
#7979BC #BC9A79 #9ABC79
monochromatic
#3E3E7C #5353A5 #7979BC #A2A2D0 #CBCBE5

Accessibility & contrast

On white

3.98
#7979BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7979BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979BC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979BC#FFFFFF#000000##000000
##7979BC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#678692
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7979bc;
/* rgb */ color: rgb(121, 121, 188);
/* oklch */ color: oklch(60.4% 0.101 283.0);
Tailwind
colors: {
  custom: {
    50: '#a29fd0',
    500: '#7979bc',
    950: '#000000',
  },
}
SCSS
$custom: #7979bc;
$custom-light: #a29fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7979bc",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.10097,
    "h": 283
  },
  "luminance": 0.21371
}

Semantic roles & 50–950 ramp

primary
#7979BC
secondary
#D5D5BC
accent
#AC39AC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7979BC

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

Preview Lab → · Contrast checker → · Palette generator →

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