#7976FB#7976FB

#7976FB is a light, vivid blue. Relative luminance 0.240; OKLCH L 63.6% C 0.193 H 280.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7976FB
RGBrgb(121, 118, 251)
HSLhsl(241, 94%, 72%)
HSVhsv(241, 53%, 98%)
CMYKcmyk(51.8%, 53%, 0%, 1.6%)
CIE-LABlab(56.07, 36.34, -66.31)
CIE-LCHlch(56.07, 75.62, 298.73°)
OKLaboklab(63.59% 0.0348 -0.1895)
OKLCHoklch(63.59% 0.193 280.4)
XYZxyz(31.7708, 23.9850, 94.2035)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976FB #F8FB76
analogous
#76B6FB #7976FB #BB76FB
triadic
#7976FB #FB7976 #76FB79
tetradic
#7976FB #FB76B6 #F8FB76 #76FBBB
square
#7976FB #FB76B6 #F8FB76 #76FBBB
split-complementary
#7976FB #FBBB76 #B6FB76
monochromatic
#0C07F0 #3F3BF9 #7976FB #B3B1FD #E2E1FE

Accessibility & contrast

On white

3.62
#7976FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7976FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976FB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976FB#FFFFFF#000000##000000
##7976FB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#298BFF
Deuteranopia (green-blind)
#1281F8
Tritanopia (blue-blind)
#4294AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7976fb;
/* rgb */ color: rgb(121, 118, 251);
/* oklch */ color: oklch(63.6% 0.193 280.4);
Tailwind
colors: {
  custom: {
    50: '#a89dfd',
    500: '#7976fb',
    950: '#000000',
  },
}
SCSS
$custom: #7976fb;
$custom-light: #a89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#7976fb",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 251
  },
  "hsl": {
    "h": 241.353,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.63586,
    "c": 0.19269,
    "h": 280.4
  },
  "luminance": 0.23987
}

Semantic roles & 50–950 ramp

primary
#7976FB
secondary
#F6F6D5
accent
#E600E0
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #7976FB

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

Preview Lab → · Contrast checker → · Palette generator →

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