#7976BD#7976BD

#7976BD is a mid, moderate blue. Relative luminance 0.207; OKLCH L 59.9% C 0.107 H 284.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7976BD
RGBrgb(121, 118, 189)
HSLhsl(243, 35%, 60%)
HSVhsv(243, 38%, 74%)
CMYKcmyk(36%, 37.6%, 0%, 25.9%)
CIE-LABlab(52.61, 18.27, -36.91)
CIE-LCHlch(52.61, 41.18, 296.34°)
OKLaboklab(59.85% 0.027 -0.1034)
OKLCHoklch(59.85% 0.107 284.6)
XYZxyz(23.5464, 20.6952, 50.8882)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976BD #BABD76
analogous
#7697BD #7976BD #9C76BD
triadic
#7976BD #BD7976 #76BD79
tetradic
#7976BD #BD7697 #BABD76 #76BD9C
square
#7976BD #BD7697 #BABD76 #76BD9C
split-complementary
#7976BD #BD9C76 #97BD76
monochromatic
#3F3C7D #5450A6 #7976BD #A19FD1 #CAC9E5

Accessibility & contrast

On white

4.09
#7976BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7976BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976BD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976BD#FFFFFF#000000##000000
##7976BD1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C0
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#678390
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7976bd;
/* rgb */ color: rgb(121, 118, 189);
/* oklch */ color: oklch(59.9% 0.107 284.6);
Tailwind
colors: {
  custom: {
    50: '#a29dd1',
    500: '#7976bd',
    950: '#000000',
  },
}
SCSS
$custom: #7976bd;
$custom-light: #a29dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7976bd",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 189
  },
  "hsl": {
    "h": 242.535,
    "s": 34.975,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59854,
    "c": 0.10687,
    "h": 284.6
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#7976BD
secondary
#D4D5BA
accent
#AE38A9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7976BD

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

Preview Lab → · Contrast checker → · Palette generator →

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