#7976EE#7976EE

#7976EE is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.7% C 0.175 H 281.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7976EE
RGBrgb(121, 118, 238)
HSLhsl(242, 78%, 70%)
HSVhsv(242, 50%, 93%)
CMYKcmyk(49.2%, 50.4%, 0%, 6.7%)
CIE-LABlab(55.27, 32.44, -60.39)
CIE-LCHlch(55.27, 68.55, 298.24°)
OKLaboklab(62.73% 0.0341 -0.1721)
OKLCHoklch(62.73% 0.175 281.2)
XYZxyz(29.7915, 23.1933, 83.7793)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976EE #EBEE76
analogous
#76AFEE #7976EE #B576EE
triadic
#7976EE #EE7976 #76EE79
tetradic
#7976EE #EE76AF #EBEE76 #76EEB5
square
#7976EE #EE76AF #EBEE76 #76EEB5
split-complementary
#7976EE #EEB576 #AFEE76
monochromatic
#1E1AD0 #4440E7 #7976EE #AEACF5 #E4E3FC

Accessibility & contrast

On white

3.72
#7976EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#7976EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976EE
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976EE#FFFFFF#000000##000000
##7976EE1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F2
Deuteranopia (green-blind)
#3180EB
Tritanopia (blue-blind)
#4D90A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7976ee;
/* rgb */ color: rgb(121, 118, 238);
/* oklch */ color: oklch(62.7% 0.175 281.2);
Tailwind
colors: {
  custom: {
    50: '#a79df4',
    500: '#7976ee',
    950: '#000000',
  },
}
SCSS
$custom: #7976ee;
$custom-light: #a79df4;
$custom-dark: #000000;
JSON
{
  "hex": "#7976ee",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 238
  },
  "hsl": {
    "h": 241.5,
    "s": 77.922,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62729,
    "c": 0.17543,
    "h": 281.2
  },
  "luminance": 0.23195
}

Semantic roles & 50–950 ramp

primary
#7976EE
secondary
#F0F1CF
accent
#DA0BD5
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7976EE

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

Preview Lab → · Contrast checker → · Palette generator →

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