#7978CD#7978CD

#7978CD is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.1% C 0.127 H 282.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7978CD
RGBrgb(121, 120, 205)
HSLhsl(241, 46%, 64%)
HSVhsv(241, 41%, 80%)
CMYKcmyk(41%, 41.5%, 0%, 19.6%)
CIE-LABlab(53.93, 21.57, -43.97)
CIE-LCHlch(53.93, 48.98, 296.13°)
OKLaboklab(61.11% 0.0275 -0.124)
OKLCHoklch(61.11% 0.127 282.5)
XYZxyz(25.6179, 21.9046, 60.6240)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978CD #CCCD78
analogous
#78A1CD #7978CD #A378CD
triadic
#7978CD #CD7978 #78CD79
tetradic
#7978CD #CD78A1 #CCCD78 #78CDA3
square
#7978CD #CD78A1 #CCCD78 #78CDA3
split-complementary
#7978CD #CDA378 #A1CD78
monochromatic
#383794 #4D4BBC #7978CD #A5A5DE #D2D1EE

Accessibility & contrast

On white

3.90
#7978CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7978CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978CD#FFFFFF#000000##000000
##7978CD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#608999
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7978cd;
/* rgb */ color: rgb(121, 120, 205);
/* oklch */ color: oklch(61.1% 0.127 282.5);
Tailwind
colors: {
  custom: {
    50: '#a39fdc',
    500: '#7978cd',
    950: '#000000',
  },
}
SCSS
$custom: #7978cd;
$custom-light: #a39fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7978cd",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 240.706,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61115,
    "c": 0.12698,
    "h": 282.5
  },
  "luminance": 0.21906
}

Semantic roles & 50–950 ramp

primary
#7978CD
secondary
#DFDFC1
accent
#B92CB7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7978CD

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

Preview Lab → · Contrast checker → · Palette generator →

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