#7978EE#7978EE

#7978EE is a light, vivid blue. Relative luminance 0.237; OKLCH L 63.1% C 0.173 H 280.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7978EE
RGBrgb(121, 120, 238)
HSLhsl(241, 78%, 70%)
HSVhsv(241, 50%, 93%)
CMYKcmyk(49.2%, 49.6%, 0%, 6.7%)
CIE-LABlab(55.76, 31.25, -59.61)
CIE-LCHlch(55.76, 67.31, 297.67°)
OKLaboklab(63.09% 0.0318 -0.1698)
OKLCHoklch(63.09% 0.173 280.6)
XYZxyz(30.0295, 23.6693, 83.8586)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978EE #EDEE78
analogous
#78B2EE #7978EE #B478EE
triadic
#7978EE #EE7978 #78EE79
tetradic
#7978EE #EE78B2 #EDEE78 #78EEB4
square
#7978EE #EE78B2 #EDEE78 #78EEB4
split-complementary
#7978EE #EEB478 #B2EE78
monochromatic
#1C1AD1 #4342E7 #7978EE #AFAEF5 #E4E4FC

Accessibility & contrast

On white

3.66
#7978EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7978EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978EE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978EE#FFFFFF#000000##000000
##7978EE1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#3681EB
Tritanopia (blue-blind)
#4C92A8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7978ee;
/* rgb */ color: rgb(121, 120, 238);
/* oklch */ color: oklch(63.1% 0.173 280.6);
Tailwind
colors: {
  custom: {
    50: '#a79ff4',
    500: '#7978ee',
    950: '#000000',
  },
}
SCSS
$custom: #7978ee;
$custom-light: #a79ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7978ee",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 240.508,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.17275,
    "h": 280.6
  },
  "luminance": 0.23671
}

Semantic roles & 50–950 ramp

primary
#7978EE
secondary
#F1F1D1
accent
#DA0CD8
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7978EE

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

Preview Lab → · Contrast checker → · Palette generator →

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