#7979CE#7979CE

#7979CE is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.127 H 282.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7979CE
RGBrgb(121, 121, 206)
HSLhsl(240, 46%, 64%)
HSVhsv(240, 41%, 81%)
CMYKcmyk(41.3%, 41.3%, 0%, 19.2%)
CIE-LABlab(54.23, 21.26, -44.05)
CIE-LCHlch(54.23, 48.92, 295.76°)
OKLaboklab(61.37% 0.0264 -0.1242)
OKLCHoklch(61.37% 0.127 282)
XYZxyz(25.8599, 22.1949, 61.3020)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979CE #CECE79
analogous
#79A4CE #7979CE #A479CE
triadic
#7979CE #CE7979 #79CE79
tetradic
#7979CE #CE79A4 #CECE79 #79CEA4
square
#7979CE #CE79A4 #CECE79 #79CEA4
split-complementary
#7979CE #CEA479 #A4CE79
monochromatic
#373796 #4C4CBE #7979CE #A6A6DE #D3D3EF

Accessibility & contrast

On white

3.86
#7979CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7979CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979CE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979CE#FFFFFF#000000##000000
##7979CE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D1
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#5F8A99
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7979ce;
/* rgb */ color: rgb(121, 121, 206);
/* oklch */ color: oklch(61.4% 0.127 282.0);
Tailwind
colors: {
  custom: {
    50: '#a39fdd',
    500: '#7979ce',
    950: '#000000',
  },
}
SCSS
$custom: #7979ce;
$custom-light: #a39fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7979ce",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 206
  },
  "hsl": {
    "h": 240,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61366,
    "c": 0.12697,
    "h": 282
  },
  "luminance": 0.22196
}

Semantic roles & 50–950 ramp

primary
#7979CE
secondary
#E0E0C3
accent
#BA2CBA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7979CE

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

Preview Lab → · Contrast checker → · Palette generator →

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