#7979AF#7979AF

#7979AF is a mid, moderate blue. Relative luminance 0.208; OKLCH L 59.8% C 0.082 H 283.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7979AF
RGBrgb(121, 121, 175)
HSLhsl(240, 25%, 58%)
HSVhsv(240, 31%, 69%)
CMYKcmyk(30.9%, 30.9%, 0%, 31.4%)
CIE-LABlab(52.77, 12.70, -28.61)
CIE-LCHlch(52.77, 31.30, 293.94°)
OKLaboklab(59.76% 0.0193 -0.0795)
OKLCHoklch(59.76% 0.082 283.7)
XYZxyz(22.4583, 20.8342, 43.3873)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979AF #AFAF79
analogous
#7994AF #7979AF #9479AF
triadic
#7979AF #AF7979 #79AF79
tetradic
#7979AF #AF7994 #AFAF79 #79AF94
square
#7979AF #AF7994 #AFAF79 #79AF94
split-complementary
#7979AF #AF9479 #94AF79
monochromatic
#41416D #585893 #7979AF #9F9FC6 #C6C6DD

Accessibility & contrast

On white

4.06
#7979AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7979AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979AF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979AF#FFFFFF#000000##000000
##7979AF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B1
Deuteranopia (green-blind)
#687CAE
Tritanopia (blue-blind)
#6C838C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7979af;
/* rgb */ color: rgb(121, 121, 175);
/* oklch */ color: oklch(59.8% 0.082 283.7);
Tailwind
colors: {
  custom: {
    50: '#a19fc7',
    500: '#7979af',
    950: '#000000',
  },
}
SCSS
$custom: #7979af;
$custom-light: #a19fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7979af",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 175
  },
  "hsl": {
    "h": 240,
    "s": 25.234,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59762,
    "c": 0.08177,
    "h": 283.7
  },
  "luminance": 0.20835
}

Semantic roles & 50–950 ramp

primary
#7979AF
secondary
#CDCDB7
accent
#C266C2
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7979AF

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

Preview Lab → · Contrast checker → · Palette generator →

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