#7979BF#7979BF

#7979BF is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.6% C 0.105 H 282.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7979BF
RGBrgb(121, 121, 191)
HSLhsl(240, 35%, 61%)
HSVhsv(240, 37%, 75%)
CMYKcmyk(36.6%, 36.6%, 0%, 25.1%)
CIE-LABlab(53.49, 17.03, -36.67)
CIE-LCHlch(53.49, 40.44, 294.91°)
OKLaboklab(60.56% 0.0233 -0.1027)
OKLCHoklch(60.56% 0.105 282.8)
XYZxyz(24.1239, 21.5005, 52.1591)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979BF #BFBF79
analogous
#799CBF #7979BF #9C79BF
triadic
#7979BF #BF7979 #79BF79
tetradic
#7979BF #BF799C #BFBF79 #79BF9C
square
#7979BF #BF799C #BFBF79 #79BF9C
split-complementary
#7979BF #BF9C79 #9CBF79
monochromatic
#3D3D80 #5151AA #7979BF #A2A2D3 #CCCCE7

Accessibility & contrast

On white

3.96
#7979BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7979BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979BF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979BF#FFFFFF#000000##000000
##7979BF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C2
Deuteranopia (green-blind)
#607DBD
Tritanopia (blue-blind)
#668693
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7979bf;
/* rgb */ color: rgb(121, 121, 191);
/* oklch */ color: oklch(60.6% 0.105 282.8);
Tailwind
colors: {
  custom: {
    50: '#a29fd2',
    500: '#7979bf',
    950: '#000000',
  },
}
SCSS
$custom: #7979bf;
$custom-light: #a29fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7979bf",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.10535,
    "h": 282.8
  },
  "luminance": 0.21501
}

Semantic roles & 50–950 ramp

primary
#7979BF
secondary
#D7D7BD
accent
#AE37AE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7979BF

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

Preview Lab → · Contrast checker → · Palette generator →

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