#7976CC#7976CC

#7976CC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.128 H 283.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7976CC
RGBrgb(121, 118, 204)
HSLhsl(242, 46%, 63%)
HSVhsv(242, 42%, 80%)
CMYKcmyk(40.7%, 42.2%, 0%, 20%)
CIE-LABlab(53.36, 22.48, -44.30)
CIE-LCHlch(53.36, 49.67, 296.91°)
OKLaboklab(60.67% 0.0299 -0.1249)
OKLCHoklch(60.67% 0.128 283.5)
XYZxyz(25.2595, 21.3805, 59.9110)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976CC #C9CC76
analogous
#769ECC #7976CC #A476CC
triadic
#7976CC #CC7976 #76CC79
tetradic
#7976CC #CC769E #C9CC76 #76CCA4
square
#7976CC #CC769E #C9CC76 #76CCA4
split-complementary
#7976CC #CCA476 #9ECC76
monochromatic
#393691 #4D49BB #7976CC #A5A3DD #D0CFED

Accessibility & contrast

On white

3.98
#7976CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7976CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976CC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976CC#FFFFFF#000000##000000
##7976CC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#608797
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7976cc;
/* rgb */ color: rgb(121, 118, 204);
/* oklch */ color: oklch(60.7% 0.128 283.5);
Tailwind
colors: {
  custom: {
    50: '#a39ddc',
    500: '#7976cc',
    950: '#000000',
  },
}
SCSS
$custom: #7976cc;
$custom-light: #a39ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7976cc",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 242.093,
    "s": 45.745,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6067,
    "c": 0.12845,
    "h": 283.5
  },
  "luminance": 0.21381
}

Semantic roles & 50–950 ramp

primary
#7976CC
secondary
#DDDEBF
accent
#B92DB4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7976CC

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

Preview Lab → · Contrast checker → · Palette generator →

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