#7976DC#7976DC

#7976DC is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.6% C 0.151 H 282.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7976DC
RGBrgb(121, 118, 220)
HSLhsl(242, 59%, 66%)
HSVhsv(242, 46%, 86%)
CMYKcmyk(45%, 46.4%, 0%, 13.7%)
CIE-LABlab(54.23, 27.11, -51.98)
CIE-LCHlch(54.23, 58.62, 297.55°)
OKLaboklab(61.6% 0.0323 -0.1474)
OKLCHoklch(61.6% 0.151 282.3)
XYZxyz(27.2780, 22.1879, 70.5416)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976DC #D9DC76
analogous
#76A6DC #7976DC #AC76DC
triadic
#7976DC #DC7976 #76DC79
tetradic
#7976DC #DC76A6 #D9DC76 #76DCAC
square
#7976DC #DC76A6 #D9DC76 #76DCAC
split-complementary
#7976DC #DCAC76 #A6DC76
monochromatic
#302CAC #4945D0 #7976DC #A9A7E8 #D8D7F5

Accessibility & contrast

On white

3.86
#7976DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7976DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976DC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976DC#FFFFFF#000000##000000
##7976DC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85E0
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#588B9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7976dc;
/* rgb */ color: rgb(121, 118, 220);
/* oklch */ color: oklch(61.6% 0.151 282.3);
Tailwind
colors: {
  custom: {
    50: '#a59de7',
    500: '#7976dc',
    950: '#000000',
  },
}
SCSS
$custom: #7976dc;
$custom-light: #a59de7;
$custom-dark: #000000;
JSON
{
  "hex": "#7976dc",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 220
  },
  "hsl": {
    "h": 241.765,
    "s": 59.302,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.15089,
    "h": 282.3
  },
  "luminance": 0.22189
}

Semantic roles & 50–950 ramp

primary
#7976DC
secondary
#E7E8C6
accent
#C71FC2
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7976DC

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

Preview Lab → · Contrast checker → · Palette generator →

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