#7976EA#7976EA

#7976EA is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.5% C 0.170 H 281.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7976EA
RGBrgb(121, 118, 234)
HSLhsl(242, 73%, 69%)
HSVhsv(242, 50%, 92%)
CMYKcmyk(48.3%, 49.6%, 0%, 8.2%)
CIE-LABlab(55.03, 31.25, -58.54)
CIE-LCHlch(55.03, 66.36, 298.09°)
OKLaboklab(62.47% 0.0338 -0.1667)
OKLCHoklch(62.47% 0.17 281.4)
XYZxyz(29.2104, 22.9608, 80.7187)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976EA #E7EA76
analogous
#76ADEA #7976EA #B376EA
triadic
#7976EA #EA7976 #76EA79
tetradic
#7976EA #EA76AD #E7EA76 #76EAB3
square
#7976EA #EA76AD #E7EA76 #76EAB3
split-complementary
#7976EA #EAB376 #ADEA76
monochromatic
#231FC7 #4541E2 #7976EA #ADABF2 #E1E0FA

Accessibility & contrast

On white

3.76
#7976EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7976EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976EA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976EA#FFFFFF#000000##000000
##7976EA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EE
Deuteranopia (green-blind)
#3780E7
Tritanopia (blue-blind)
#4F8FA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7976ea;
/* rgb */ color: rgb(121, 118, 234);
/* oklch */ color: oklch(62.5% 0.170 281.4);
Tailwind
colors: {
  custom: {
    50: '#a69df1',
    500: '#7976ea',
    950: '#000000',
  },
}
SCSS
$custom: #7976ea;
$custom-light: #a69df1;
$custom-dark: #000000;
JSON
{
  "hex": "#7976ea",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 241.552,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.62472,
    "c": 0.17004,
    "h": 281.4
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#7976EA
secondary
#EEEFCD
accent
#D610D0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7976EA

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

Preview Lab → · Contrast checker → · Palette generator →

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