#7976BA#7976BA

#7976BA is a mid, moderate blue. Relative luminance 0.206; OKLCH L 59.7% C 0.102 H 284.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7976BA
RGBrgb(121, 118, 186)
HSLhsl(243, 33%, 60%)
HSVhsv(243, 37%, 73%)
CMYKcmyk(34.9%, 36.6%, 0%, 27.1%)
CIE-LABlab(52.47, 17.45, -35.41)
CIE-LCHlch(52.47, 39.48, 296.24°)
OKLaboklab(59.7% 0.0263 -0.0991)
OKLCHoklch(59.7% 0.103 284.9)
XYZxyz(23.2241, 20.5663, 49.1909)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976BA #B7BA76
analogous
#7695BA #7976BA #9B76BA
triadic
#7976BA #BA7976 #76BA79
tetradic
#7976BA #BA7695 #B7BA76 #76BA9B
square
#7976BA #BA7695 #B7BA76 #76BA9B
split-complementary
#7976BA #BA9B76 #95BA76
monochromatic
#3F3D79 #5551A1 #7976BA #A19FCE #C9C7E3

Accessibility & contrast

On white

4.11
#7976BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7976BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976BA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976BA#FFFFFF#000000##000000
##7976BA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#617FBD
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#68838F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7976ba;
/* rgb */ color: rgb(121, 118, 186);
/* oklch */ color: oklch(59.7% 0.102 284.9);
Tailwind
colors: {
  custom: {
    50: '#a29dcf',
    500: '#7976ba',
    950: '#000000',
  },
}
SCSS
$custom: #7976ba;
$custom-light: #a29dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7976ba",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 186
  },
  "hsl": {
    "h": 242.647,
    "s": 33.01,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59697,
    "c": 0.1025,
    "h": 284.9
  },
  "luminance": 0.20567
}

Semantic roles & 50–950 ramp

primary
#7976BA
secondary
#D2D3B9
accent
#C95FC4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7976BA

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

Preview Lab → · Contrast checker → · Palette generator →

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