#7976EC#7976EC

#7976EC is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.6% C 0.173 H 281.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7976EC
RGBrgb(121, 118, 236)
HSLhsl(242, 76%, 69%)
HSVhsv(242, 50%, 93%)
CMYKcmyk(48.7%, 50%, 0%, 7.5%)
CIE-LABlab(55.15, 31.84, -59.47)
CIE-LCHlch(55.15, 67.45, 298.17°)
OKLaboklab(62.6% 0.0339 -0.1694)
OKLCHoklch(62.6% 0.173 281.3)
XYZxyz(29.4993, 23.0764, 82.2404)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976EC #E9EC76
analogous
#76AEEC #7976EC #B476EC
triadic
#7976EC #EC7976 #76EC79
tetradic
#7976EC #EC76AE #E9EC76 #76ECB4
square
#7976EC #EC76AE #E9EC76 #76ECB4
split-complementary
#7976EC #ECB476 #AEEC76
monochromatic
#211CCB #4440E5 #7976EC #AEACF3 #E2E1FB

Accessibility & contrast

On white

3.74
#7976EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7976EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976EC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976EC#FFFFFF#000000##000000
##7976EC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88F0
Deuteranopia (green-blind)
#3480E9
Tritanopia (blue-blind)
#4E90A6
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7976ec;
/* rgb */ color: rgb(121, 118, 236);
/* oklch */ color: oklch(62.6% 0.173 281.3);
Tailwind
colors: {
  custom: {
    50: '#a79df3',
    500: '#7976ec',
    950: '#000000',
  },
}
SCSS
$custom: #7976ec;
$custom-light: #a79df3;
$custom-dark: #000000;
JSON
{
  "hex": "#7976ec",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 241.525,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.626,
    "c": 0.17274,
    "h": 281.3
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#7976EC
secondary
#EFF0CE
accent
#D80ED3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7976EC

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

Preview Lab → · Contrast checker → · Palette generator →

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