#7976EB#7976EB

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

Color values

HEX#7976EB
RGBrgb(121, 118, 235)
HSLhsl(242, 75%, 69%)
HSVhsv(242, 50%, 92%)
CMYKcmyk(48.5%, 49.8%, 0%, 7.8%)
CIE-LABlab(55.09, 31.54, -59.00)
CIE-LCHlch(55.09, 66.91, 298.13°)
OKLaboklab(62.54% 0.0338 -0.168)
OKLCHoklch(62.54% 0.171 281.4)
XYZxyz(29.3544, 23.0184, 81.4774)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976EB #E8EB76
analogous
#76AEEB #7976EB #B376EB
triadic
#7976EB #EB7976 #76EB79
tetradic
#7976EB #EB76AE #E8EB76 #76EBB3
square
#7976EB #EB76AE #E8EB76 #76EBB3
split-complementary
#7976EB #EBB376 #AEEB76
monochromatic
#221DC9 #4541E3 #7976EB #ADABF3 #E1E1FB

Accessibility & contrast

On white

3.75
#7976EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7976EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976EB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976EB#FFFFFF#000000##000000
##7976EB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#3680E8
Tritanopia (blue-blind)
#4F8FA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7976eb;
/* rgb */ color: rgb(121, 118, 235);
/* oklch */ color: oklch(62.5% 0.171 281.4);
Tailwind
colors: {
  custom: {
    50: '#a69df2',
    500: '#7976eb',
    950: '#000000',
  },
}
SCSS
$custom: #7976eb;
$custom-light: #a69df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7976eb",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 241.538,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62536,
    "c": 0.17139,
    "h": 281.4
  },
  "luminance": 0.2302
}

Semantic roles & 50–950 ramp

primary
#7976EB
secondary
#EFEFCD
accent
#D70FD2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7976EB

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

Preview Lab → · Contrast checker → · Palette generator →

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