#7976BF#7976BF

#7976BF is a mid, moderate blue. Relative luminance 0.208; OKLCH L 60.0% C 0.110 H 284.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7976BF
RGBrgb(121, 118, 191)
HSLhsl(242, 36%, 61%)
HSVhsv(242, 38%, 75%)
CMYKcmyk(36.6%, 38.2%, 0%, 25.1%)
CIE-LABlab(52.71, 18.83, -37.90)
CIE-LCHlch(52.71, 42.32, 296.41°)
OKLaboklab(59.96% 0.0274 -0.1063)
OKLCHoklch(59.96% 0.11 284.4)
XYZxyz(23.7650, 20.7826, 52.0394)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976BF #BCBF76
analogous
#7697BF #7976BF #9D76BF
triadic
#7976BF #BF7976 #76BF79
tetradic
#7976BF #BF7697 #BCBF76 #76BF9D
square
#7976BF #BF7697 #BCBF76 #76BF9D
split-complementary
#7976BF #BF9D76 #97BF76
monochromatic
#3E3B7F #534FA9 #7976BF #A2A0D2 #CBC9E6

Accessibility & contrast

On white

4.07
#7976BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7976BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976BF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976BF#FFFFFF#000000##000000
##7976BF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E80C2
Deuteranopia (green-blind)
#5C7CBD
Tritanopia (blue-blind)
#668491
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7976bf;
/* rgb */ color: rgb(121, 118, 191);
/* oklch */ color: oklch(60.0% 0.110 284.4);
Tailwind
colors: {
  custom: {
    50: '#a29dd2',
    500: '#7976bf',
    950: '#000000',
  },
}
SCSS
$custom: #7976bf;
$custom-light: #a29dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7976bf",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 242.466,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59959,
    "c": 0.10977,
    "h": 284.4
  },
  "luminance": 0.20783
}

Semantic roles & 50–950 ramp

primary
#7976BF
secondary
#D5D6BB
accent
#AF36AA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7976BF

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

Preview Lab → · Contrast checker → · Palette generator →

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