#7979CA#7979CA

#7979CA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.1% C 0.121 H 282.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7979CA
RGBrgb(121, 121, 202)
HSLhsl(240, 43%, 63%)
HSVhsv(240, 40%, 79%)
CMYKcmyk(40.1%, 40.1%, 0%, 20.8%)
CIE-LABlab(54.03, 20.12, -42.10)
CIE-LCHlch(54.03, 46.66, 295.54°)
OKLaboklab(61.15% 0.0257 -0.1185)
OKLCHoklch(61.15% 0.121 282.2)
XYZxyz(25.3801, 22.0030, 58.7754)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979CA #CACA79
analogous
#79A1CA #7979CA #A179CA
triadic
#7979CA #CA7979 #79CA79
tetradic
#7979CA #CA79A1 #CACA79 #79CAA1
square
#7979CA #CA79A1 #CACA79 #79CAA1
split-complementary
#7979CA #CAA179 #A1CA79
monochromatic
#393990 #4D4DB9 #7979CA #A5A5DB #D1D1ED

Accessibility & contrast

On white

3.89
#7979CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7979CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979CA#FFFFFF#000000##000000
##7979CA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#618998
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7979ca;
/* rgb */ color: rgb(121, 121, 202);
/* oklch */ color: oklch(61.1% 0.121 282.2);
Tailwind
colors: {
  custom: {
    50: '#a39fda',
    500: '#7979ca',
    950: '#000000',
  },
}
SCSS
$custom: #7979ca;
$custom-light: #a39fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7979ca",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.12126,
    "h": 282.2
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#7979CA
secondary
#DEDEC1
accent
#B62FB6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7979CA

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

Preview Lab → · Contrast checker → · Palette generator →

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