#7976CF#7976CF

#7976CF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.133 H 283.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7976CF
RGBrgb(121, 118, 207)
HSLhsl(242, 48%, 64%)
HSVhsv(242, 43%, 81%)
CMYKcmyk(41.5%, 43%, 0%, 18.8%)
CIE-LABlab(53.52, 23.34, -45.75)
CIE-LCHlch(53.52, 51.36, 297.03°)
OKLaboklab(60.84% 0.0304 -0.1292)
OKLCHoklch(60.84% 0.133 283.2)
XYZxyz(25.6228, 21.5258, 61.8242)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976CF #CCCF76
analogous
#769FCF #7976CF #A576CF
triadic
#7976CF #CF7976 #76CF79
tetradic
#7976CF #CF769F #CCCF76 #76CFA5
square
#7976CF #CF769F #CCCF76 #76CFA5
split-complementary
#7976CF #CFA576 #9FCF76
monochromatic
#383596 #4D49BF #7976CF #A5A3DF #D2D1EF

Accessibility & contrast

On white

3.96
#7976CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7976CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976CF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976CF#FFFFFF#000000##000000
##7976CF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#527DCD
Tritanopia (blue-blind)
#5F8898
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7976cf;
/* rgb */ color: rgb(121, 118, 207);
/* oklch */ color: oklch(60.8% 0.133 283.2);
Tailwind
colors: {
  custom: {
    50: '#a49dde',
    500: '#7976cf',
    950: '#000000',
  },
}
SCSS
$custom: #7976cf;
$custom-light: #a49dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7976cf",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 242.022,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.1327,
    "h": 283.2
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#7976CF
secondary
#DFE0C1
accent
#BB2AB6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7976CF

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

Preview Lab → · Contrast checker → · Palette generator →

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