#7978EA#7978EA

#7978EA is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.8% C 0.167 H 280.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7978EA
RGBrgb(121, 120, 234)
HSLhsl(241, 73%, 69%)
HSVhsv(241, 49%, 92%)
CMYKcmyk(48.3%, 48.7%, 0%, 8.2%)
CIE-LABlab(55.52, 30.06, -57.76)
CIE-LCHlch(55.52, 65.11, 297.49°)
OKLaboklab(62.84% 0.0315 -0.1643)
OKLCHoklch(62.84% 0.167 280.8)
XYZxyz(29.4484, 23.4368, 80.7980)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978EA #E9EA78
analogous
#78B0EA #7978EA #B278EA
triadic
#7978EA #EA7978 #78EA79
tetradic
#7978EA #EA78B0 #E9EA78 #78EAB2
square
#7978EA #EA78B0 #E9EA78 #78EAB2
split-complementary
#7978EA #EAB278 #B0EA78
monochromatic
#211FC8 #4443E2 #7978EA #AEADF2 #E2E2FA

Accessibility & contrast

On white

3.69
#7978EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7978EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978EA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978EA#FFFFFF#000000##000000
##7978EA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4489EE
Deuteranopia (green-blind)
#3B81E7
Tritanopia (blue-blind)
#4F91A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7978ea;
/* rgb */ color: rgb(121, 120, 234);
/* oklch */ color: oklch(62.8% 0.167 280.8);
Tailwind
colors: {
  custom: {
    50: '#a69ff1',
    500: '#7978ea',
    950: '#000000',
  },
}
SCSS
$custom: #7978ea;
$custom-light: #a69ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7978ea",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 240.526,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.62839,
    "c": 0.16734,
    "h": 280.8
  },
  "luminance": 0.23438
}

Semantic roles & 50–950 ramp

primary
#7978EA
secondary
#EFEFCE
accent
#D510D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7978EA

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

Preview Lab → · Contrast checker → · Palette generator →

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