#7976BC#7976BC

#7976BC is a mid, moderate blue. Relative luminance 0.207; OKLCH L 59.8% C 0.105 H 284.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7976BC
RGBrgb(121, 118, 188)
HSLhsl(243, 34%, 60%)
HSVhsv(243, 37%, 74%)
CMYKcmyk(35.6%, 37.2%, 0%, 26.3%)
CIE-LABlab(52.57, 18.00, -36.41)
CIE-LCHlch(52.57, 40.62, 296.31°)
OKLaboklab(59.8% 0.0267 -0.102)
OKLCHoklch(59.8% 0.105 284.7)
XYZxyz(23.4382, 20.6519, 50.3185)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976BC #B9BC76
analogous
#7696BC #7976BC #9C76BC
triadic
#7976BC #BC7976 #76BC79
tetradic
#7976BC #BC7696 #B9BC76 #76BC9C
square
#7976BC #BC7696 #B9BC76 #76BC9C
split-complementary
#7976BC #BC9C76 #96BC76
monochromatic
#3F3C7B #5450A4 #7976BC #A19FD0 #C9C8E4

Accessibility & contrast

On white

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

On black

5.13
#7976BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976BC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976BC#FFFFFF#000000##000000
##7976BC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080BF
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#678390
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7976bc;
/* rgb */ color: rgb(121, 118, 188);
/* oklch */ color: oklch(59.8% 0.105 284.7);
Tailwind
colors: {
  custom: {
    50: '#a29dd0',
    500: '#7976bc',
    950: '#000000',
  },
}
SCSS
$custom: #7976bc;
$custom-light: #a29dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7976bc",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 188
  },
  "hsl": {
    "h": 242.571,
    "s": 34.314,
    "l": 60
  },
  "oklch": {
    "l": 0.59801,
    "c": 0.10542,
    "h": 284.7
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7976BC

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

Preview Lab → · Contrast checker → · Palette generator →

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