#7978EB#7978EB

#7978EB is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.9% C 0.169 H 280.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7978EB
RGBrgb(121, 120, 235)
HSLhsl(241, 74%, 70%)
HSVhsv(241, 49%, 92%)
CMYKcmyk(48.5%, 48.9%, 0%, 7.8%)
CIE-LABlab(55.58, 30.36, -58.22)
CIE-LCHlch(55.58, 65.66, 297.54°)
OKLaboklab(62.9% 0.0316 -0.1657)
OKLCHoklch(62.9% 0.169 280.8)
XYZxyz(29.5925, 23.4945, 81.5567)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978EB #EAEB78
analogous
#78B0EB #7978EB #B378EB
triadic
#7978EB #EB7978 #78EB79
tetradic
#7978EB #EB78B0 #EAEB78 #78EBB3
square
#7978EB #EB78B0 #EAEB78 #78EBB3
split-complementary
#7978EB #EBB378 #B0EB78
monochromatic
#201ECB #4443E3 #7978EB #AEADF3 #E3E3FB

Accessibility & contrast

On white

3.68
#7978EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7978EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978EB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978EB#FFFFFF#000000##000000
##7978EB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#4E91A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7978eb;
/* rgb */ color: rgb(121, 120, 235);
/* oklch */ color: oklch(62.9% 0.169 280.8);
Tailwind
colors: {
  custom: {
    50: '#a69ff2',
    500: '#7978eb',
    950: '#000000',
  },
}
SCSS
$custom: #7978eb;
$custom-light: #a69ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7978eb",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 240.522,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62902,
    "c": 0.1687,
    "h": 280.8
  },
  "luminance": 0.23496
}

Semantic roles & 50–950 ramp

primary
#7978EB
secondary
#F0F0CF
accent
#D60FD5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7978EB

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

Preview Lab → · Contrast checker → · Palette generator →

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