#7976CA#7976CA

#7976CA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.126 H 283.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7976CA
RGBrgb(121, 118, 202)
HSLhsl(242, 44%, 63%)
HSVhsv(242, 42%, 79%)
CMYKcmyk(40.1%, 41.6%, 0%, 20.8%)
CIE-LABlab(53.26, 21.91, -43.32)
CIE-LCHlch(53.26, 48.55, 296.83°)
OKLaboklab(60.56% 0.0295 -0.1221)
OKLCHoklch(60.56% 0.126 283.6)
XYZxyz(25.0212, 21.2851, 58.6558)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976CA #C7CA76
analogous
#769DCA #7976CA #A376CA
triadic
#7976CA #CA7976 #76CA79
tetradic
#7976CA #CA769D #C7CA76 #76CAA3
square
#7976CA #CA769D #C7CA76 #76CAA3
split-complementary
#7976CA #CAA376 #9DCA76
monochromatic
#3A378E #4E4AB9 #7976CA #A4A2DB #CFCEEC

Accessibility & contrast

On white

3.99
#7976CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7976CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976CA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976CA#FFFFFF#000000##000000
##7976CA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#557DC8
Tritanopia (blue-blind)
#618796
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7976ca;
/* rgb */ color: rgb(121, 118, 202);
/* oklch */ color: oklch(60.6% 0.126 283.6);
Tailwind
colors: {
  custom: {
    50: '#a39dda',
    500: '#7976ca',
    950: '#000000',
  },
}
SCSS
$custom: #7976ca;
$custom-light: #a39dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7976ca",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 242.143,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.12559,
    "h": 283.6
  },
  "luminance": 0.21286
}

Semantic roles & 50–950 ramp

primary
#7976CA
secondary
#DCDDBF
accent
#B72EB2
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7976CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7976CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva