#7976FD#7976FD

#7976FD is a light, vivid blue. Relative luminance 0.241; OKLCH L 63.7% C 0.195 H 280.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7976FD
RGBrgb(121, 118, 253)
HSLhsl(241, 97%, 73%)
HSVhsv(241, 53%, 99%)
CMYKcmyk(52.2%, 53.4%, 0%, 0.8%)
CIE-LABlab(56.20, 36.95, -67.21)
CIE-LCHlch(56.20, 76.70, 298.80°)
OKLaboklab(63.72% 0.0349 -0.1922)
OKLCHoklch(63.72% 0.195 280.3)
XYZxyz(32.0877, 24.1117, 95.8727)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976FD #FAFD76
analogous
#76B7FD #7976FD #BC76FD
triadic
#7976FD #FD7976 #76FD79
tetradic
#7976FD #FD76B7 #FAFD76 #76FDBC
square
#7976FD #FD76B7 #FAFD76 #76FDBC
split-complementary
#7976FD #FDBC76 #B7FD76
monochromatic
#0904F5 #3E3AFC #7976FD #B4B2FE #E2E1FF

Accessibility & contrast

On white

3.61
#7976FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#7976FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976FD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976FD#FFFFFF#000000##000000
##7976FD1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#258CFF
Deuteranopia (green-blind)
#0782FA
Tritanopia (blue-blind)
#4095AE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7976fd;
/* rgb */ color: rgb(121, 118, 253);
/* oklch */ color: oklch(63.7% 0.195 280.3);
Tailwind
colors: {
  custom: {
    50: '#a99dff',
    500: '#7976fd',
    950: '#000000',
  },
}
SCSS
$custom: #7976fd;
$custom-light: #a99dff;
$custom-dark: #000000;
JSON
{
  "hex": "#7976fd",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 241.333,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.63721,
    "c": 0.19531,
    "h": 280.3
  },
  "luminance": 0.24114
}

Semantic roles & 50–950 ramp

primary
#7976FD
secondary
#F6F7D4
accent
#E600E0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7976FD

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

Preview Lab → · Contrast checker → · Palette generator →

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