#7979DC#7979DC

#7979DC is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.2% C 0.147 H 281.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7979DC
RGBrgb(121, 121, 220)
HSLhsl(240, 59%, 67%)
HSVhsv(240, 45%, 86%)
CMYKcmyk(45%, 45%, 0%, 13.7%)
CIE-LABlab(54.98, 25.32, -50.78)
CIE-LCHlch(54.98, 56.75, 296.50°)
OKLaboklab(62.17% 0.0286 -0.1439)
OKLCHoklch(62.17% 0.147 281.3)
XYZxyz(27.6369, 22.9057, 70.6613)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979DC #DCDC79
analogous
#79ABDC #7979DC #AB79DC
triadic
#7979DC #DC7979 #79DC79
tetradic
#7979DC #DC79AB #DCDC79 #79DCAB
square
#7979DC #DC79AB #DCDC79 #79DCAB
split-complementary
#7979DC #DCAB79 #ABDC79
monochromatic
#2D2DAD #4848CF #7979DC #AAAAE9 #DADAF5

Accessibility & contrast

On white

3.76
#7979DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7979DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979DC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979DC#FFFFFF#000000##000000
##7979DC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287E0
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#588EA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7979dc;
/* rgb */ color: rgb(121, 121, 220);
/* oklch */ color: oklch(62.2% 0.147 281.3);
Tailwind
colors: {
  custom: {
    50: '#a59fe7',
    500: '#7979dc',
    950: '#000000',
  },
}
SCSS
$custom: #7979dc;
$custom-light: #a59fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7979dc",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62172,
    "c": 0.14671,
    "h": 281.3
  },
  "luminance": 0.22907
}

Semantic roles & 50–950 ramp

primary
#7979DC
secondary
#E8E8C9
accent
#C61FC6
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7979DC

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

Preview Lab → · Contrast checker → · Palette generator →

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