#7976CD#7976CD

#7976CD is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.7% C 0.130 H 283.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7976CD
RGBrgb(121, 118, 205)
HSLhsl(242, 47%, 63%)
HSVhsv(242, 42%, 80%)
CMYKcmyk(41%, 42.4%, 0%, 19.6%)
CIE-LABlab(53.42, 22.77, -44.78)
CIE-LCHlch(53.42, 50.24, 296.95°)
OKLaboklab(60.73% 0.0301 -0.1263)
OKLCHoklch(60.73% 0.13 283.4)
XYZxyz(25.3799, 21.4286, 60.5446)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976CD #CACD76
analogous
#769ECD #7976CD #A476CD
triadic
#7976CD #CD7976 #76CD79
tetradic
#7976CD #CD769E #CACD76 #76CDA4
square
#7976CD #CD769E #CACD76 #76CDA4
split-complementary
#7976CD #CDA476 #9ECD76
monochromatic
#393693 #4D49BD #7976CD #A5A3DD #D1D0EE

Accessibility & contrast

On white

3.97
#7976CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7976CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976CD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976CD#FFFFFF#000000##000000
##7976CD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782D0
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#608797
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7976cd;
/* rgb */ color: rgb(121, 118, 205);
/* oklch */ color: oklch(60.7% 0.130 283.4);
Tailwind
colors: {
  custom: {
    50: '#a39ddd',
    500: '#7976cd',
    950: '#000000',
  },
}
SCSS
$custom: #7976cd;
$custom-light: #a39ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7976cd",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 242.069,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.12987,
    "h": 283.4
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#7976CD
secondary
#DEDFC0
accent
#BA2CB5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7976CD

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

Preview Lab → · Contrast checker → · Palette generator →

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