#7978BB#7978BB

#7978BB is a mid, moderate blue. Relative luminance 0.211; OKLCH L 60.2% C 0.101 H 283.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7978BB
RGBrgb(121, 120, 187)
HSLhsl(241, 33%, 60%)
HSVhsv(241, 36%, 73%)
CMYKcmyk(35.3%, 35.8%, 0%, 26.7%)
CIE-LABlab(53.04, 16.53, -35.09)
CIE-LCHlch(53.04, 38.79, 295.22°)
OKLaboklab(60.15% 0.0238 -0.0981)
OKLCHoklch(60.15% 0.101 283.6)
XYZxyz(23.5688, 21.0850, 49.8321)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7978BB #BABB78
analogous
#7898BB #7978BB #9B78BB
triadic
#7978BB #BB7978 #78BB79
tetradic
#7978BB #BB7898 #BABB78 #78BB9B
square
#7978BB #BB7898 #BABB78 #78BB9B
split-complementary
#7978BB #BB9B78 #98BB78
monochromatic
#3F3E7B #5452A3 #7978BB #A1A1D0 #CAC9E4

Accessibility & contrast

On white

4.03
#7978BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7978BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7978BB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7978BB#FFFFFF#000000##000000
##7978BB1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#678591
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7978bb;
/* rgb */ color: rgb(121, 120, 187);
/* oklch */ color: oklch(60.2% 0.101 283.6);
Tailwind
colors: {
  custom: {
    50: '#a29ecf',
    500: '#7978bb',
    950: '#000000',
  },
}
SCSS
$custom: #7978bb;
$custom-light: #a29ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7978bb",
  "rgb": {
    "r": 121,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 240.896,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60151,
    "c": 0.10098,
    "h": 283.6
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#7978BB
secondary
#D4D4BB
accent
#AC3AAA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7978BB

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

Preview Lab → · Contrast checker → · Palette generator →

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