#7979BD#7979BD

#7979BD is a mid, moderate blue. Relative luminance 0.214; OKLCH L 60.5% C 0.102 H 282.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7979BD
RGBrgb(121, 121, 189)
HSLhsl(240, 34%, 61%)
HSVhsv(240, 36%, 74%)
CMYKcmyk(36%, 36%, 0%, 25.9%)
CIE-LABlab(53.40, 16.48, -35.68)
CIE-LCHlch(53.40, 39.30, 294.80°)
OKLaboklab(60.46% 0.0229 -0.0998)
OKLCHoklch(60.46% 0.102 282.9)
XYZxyz(23.9053, 21.4130, 51.0078)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979BD #BDBD79
analogous
#799BBD #7979BD #9B79BD
triadic
#7979BD #BD7979 #79BD79
tetradic
#7979BD #BD799B #BDBD79 #79BD9B
square
#7979BD #BD799B #BDBD79 #79BD9B
split-complementary
#7979BD #BD9B79 #9BBD79
monochromatic
#3E3E7E #5252A7 #7979BD #A2A2D1 #CBCBE5

Accessibility & contrast

On white

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

On black

5.28
#7979BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979BD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979BD#FFFFFF#000000##000000
##7979BD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482C0
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#678692
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7979bd;
/* rgb */ color: rgb(121, 121, 189);
/* oklch */ color: oklch(60.5% 0.102 282.9);
Tailwind
colors: {
  custom: {
    50: '#a29fd1',
    500: '#7979bd',
    950: '#000000',
  },
}
SCSS
$custom: #7979bd;
$custom-light: #a29fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7979bd",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 34,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.10243,
    "h": 282.9
  },
  "luminance": 0.21414
}

Semantic roles & 50–950 ramp

primary
#7979BD
secondary
#D6D6BC
accent
#AD39AD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7979BD

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

Preview Lab → · Contrast checker → · Palette generator →

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