#7979CB#7979CB

#7979CB is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.2% C 0.123 H 282.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7979CB
RGBrgb(121, 121, 203)
HSLhsl(240, 44%, 64%)
HSVhsv(240, 40%, 80%)
CMYKcmyk(40.4%, 40.4%, 0%, 20.4%)
CIE-LABlab(54.08, 20.40, -42.59)
CIE-LCHlch(54.08, 47.23, 295.60°)
OKLaboklab(61.2% 0.0258 -0.1199)
OKLCHoklch(61.2% 0.123 282.2)
XYZxyz(25.4989, 22.0505, 59.4010)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979CB #CBCB79
analogous
#79A2CB #7979CB #A279CB
triadic
#7979CB #CB7979 #79CB79
tetradic
#7979CB #CB79A2 #CBCB79 #79CBA2
square
#7979CB #CB79A2 #CBCB79 #79CBA2
split-complementary
#7979CB #CBA279 #A2CB79
monochromatic
#383891 #4D4DBA #7979CB #A5A5DC #D1D1ED

Accessibility & contrast

On white

3.88
#7979CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7979CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979CB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979CB#FFFFFF#000000##000000
##7979CB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#587FC9
Tritanopia (blue-blind)
#618998
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7979cb;
/* rgb */ color: rgb(121, 121, 203);
/* oklch */ color: oklch(61.2% 0.123 282.2);
Tailwind
colors: {
  custom: {
    50: '#a39fdb',
    500: '#7979cb',
    950: '#000000',
  },
}
SCSS
$custom: #7979cb;
$custom-light: #a39fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7979cb",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.612,
    "c": 0.12269,
    "h": 282.2
  },
  "luminance": 0.22051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7979CB

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

Preview Lab → · Contrast checker → · Palette generator →

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