#7979CD#7979CD

#7979CD is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.126 H 282.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7979CD
RGBrgb(121, 121, 205)
HSLhsl(240, 46%, 64%)
HSVhsv(240, 41%, 80%)
CMYKcmyk(41%, 41%, 0%, 19.6%)
CIE-LABlab(54.18, 20.98, -43.57)
CIE-LCHlch(54.18, 48.35, 295.71°)
OKLaboklab(61.31% 0.0262 -0.1228)
OKLCHoklch(61.31% 0.126 282.1)
XYZxyz(25.7388, 22.1464, 60.6643)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7979CD #CDCD79
analogous
#79A3CD #7979CD #A379CD
triadic
#7979CD #CD7979 #79CD79
tetradic
#7979CD #CD79A3 #CDCD79 #79CDA3
square
#7979CD #CD79A3 #CDCD79 #79CDA3
split-complementary
#7979CD #CDA379 #A3CD79
monochromatic
#373794 #4C4CBC #7979CD #A6A6DE #D2D2EE

Accessibility & contrast

On white

3.87
#7979CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7979CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7979CD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7979CD#FFFFFF#000000##000000
##7979CD1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D0
Deuteranopia (green-blind)
#577FCB
Tritanopia (blue-blind)
#608A99
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7979cd;
/* rgb */ color: rgb(121, 121, 205);
/* oklch */ color: oklch(61.3% 0.126 282.1);
Tailwind
colors: {
  custom: {
    50: '#a39fdc',
    500: '#7979cd',
    950: '#000000',
  },
}
SCSS
$custom: #7979cd;
$custom-light: #a39fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7979cd",
  "rgb": {
    "r": 121,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.12555,
    "h": 282.1
  },
  "luminance": 0.22147
}

Semantic roles & 50–950 ramp

primary
#7979CD
secondary
#E0E0C2
accent
#B92DB9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7979CD

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

Preview Lab → · Contrast checker → · Palette generator →

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