#7976B9#7976B9

#7976B9 is a mid, moderate blue. Relative luminance 0.205; OKLCH L 59.6% C 0.101 H 284.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7976B9
RGBrgb(121, 118, 185)
HSLhsl(243, 32%, 59%)
HSVhsv(243, 36%, 73%)
CMYKcmyk(34.6%, 36.2%, 0%, 27.5%)
CIE-LABlab(52.42, 17.18, -34.91)
CIE-LCHlch(52.42, 38.91, 296.20°)
OKLaboklab(59.65% 0.0261 -0.0976)
OKLCHoklch(59.65% 0.101 284.9)
XYZxyz(23.1182, 20.5239, 48.6330)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976B9 #B6B976
analogous
#7695B9 #7976B9 #9B76B9
triadic
#7976B9 #B97976 #76B979
tetradic
#7976B9 #B97695 #B6B976 #76B99B
square
#7976B9 #B97695 #B6B976 #76B99B
split-complementary
#7976B9 #B99B76 #95B976
monochromatic
#403D78 #5552A0 #7976B9 #A19FCE #C8C7E2

Accessibility & contrast

On white

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

On black

5.10
#7976B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976B9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976B9#FFFFFF#000000##000000
##7976B91.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7976b9;
/* rgb */ color: rgb(121, 118, 185);
/* oklch */ color: oklch(59.6% 0.101 284.9);
Tailwind
colors: {
  custom: {
    50: '#a29dce',
    500: '#7976b9',
    950: '#000000',
  },
}
SCSS
$custom: #7976b9;
$custom-light: #a29dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7976b9",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 185
  },
  "hsl": {
    "h": 242.687,
    "s": 32.367,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.10104,
    "h": 284.9
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#7976B9
secondary
#D1D2B8
accent
#C95FC4
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7976B9

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

Preview Lab → · Contrast checker → · Palette generator →

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