#7976BB#7976BB

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

Color values

HEX#7976BB
RGBrgb(121, 118, 187)
HSLhsl(243, 34%, 60%)
HSVhsv(243, 37%, 73%)
CMYKcmyk(35.3%, 36.9%, 0%, 26.7%)
CIE-LABlab(52.52, 17.72, -35.91)
CIE-LCHlch(52.52, 40.05, 296.27°)
OKLaboklab(59.75% 0.0265 -0.1005)
OKLCHoklch(59.75% 0.104 284.8)
XYZxyz(23.3308, 20.6090, 49.7527)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976BB #B8BB76
analogous
#7695BB #7976BB #9C76BB
triadic
#7976BB #BB7976 #76BB79
tetradic
#7976BB #BB7695 #B8BB76 #76BB9C
square
#7976BB #BB7695 #B8BB76 #76BB9C
split-complementary
#7976BB #BB9C76 #95BB76
monochromatic
#3F3D7A #5451A3 #7976BB #A19FCF #C9C8E4

Accessibility & contrast

On white

4.10
#7976BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7976BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976BB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976BB#FFFFFF#000000##000000
##7976BB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#688390
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7976bb;
/* rgb */ color: rgb(121, 118, 187);
/* oklch */ color: oklch(59.7% 0.104 284.8);
Tailwind
colors: {
  custom: {
    50: '#a29dd0',
    500: '#7976bb',
    950: '#000000',
  },
}
SCSS
$custom: #7976bb;
$custom-light: #a29dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7976bb",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 187
  },
  "hsl": {
    "h": 242.609,
    "s": 33.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59749,
    "c": 0.10396,
    "h": 284.8
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#7976BB
secondary
#D3D4B9
accent
#CA5EC5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7976BB

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

Preview Lab → · Contrast checker → · Palette generator →

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