#7976F2#7976F2

#7976F2 is a light, vivid blue. Relative luminance 0.234; OKLCH L 63.0% C 0.181 H 281.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7976F2
RGBrgb(121, 118, 242)
HSLhsl(241, 83%, 71%)
HSVhsv(241, 51%, 95%)
CMYKcmyk(50%, 51.2%, 0%, 5.1%)
CIE-LABlab(55.51, 33.64, -62.22)
CIE-LCHlch(55.51, 70.73, 298.40°)
OKLaboklab(62.99% 0.0344 -0.1775)
OKLCHoklch(62.99% 0.181 281)
XYZxyz(30.3857, 23.4309, 86.9087)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976F2 #EFF276
analogous
#76B1F2 #7976F2 #B776F2
triadic
#7976F2 #F27976 #76F279
tetradic
#7976F2 #F276B1 #EFF276 #76F2B7
square
#7976F2 #F276B1 #EFF276 #76F2B7
split-complementary
#7976F2 #F2B776 #B1F276
monochromatic
#1915D9 #423EED #7976F2 #B0AEF7 #E4E3FC

Accessibility & contrast

On white

3.69
#7976F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#7976F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976F2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976F2#FFFFFF#000000##000000
##7976F21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#2B80EF
Tritanopia (blue-blind)
#4991A9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7976f2;
/* rgb */ color: rgb(121, 118, 242);
/* oklch */ color: oklch(63.0% 0.181 281.0);
Tailwind
colors: {
  custom: {
    50: '#a79df7',
    500: '#7976f2',
    950: '#000000',
  },
}
SCSS
$custom: #7976f2;
$custom-light: #a79df7;
$custom-dark: #000000;
JSON
{
  "hex": "#7976f2",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 241.452,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62988,
    "c": 0.18078,
    "h": 281
  },
  "luminance": 0.23433
}

Semantic roles & 50–950 ramp

primary
#7976F2
secondary
#F2F3D1
accent
#DF06DA
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7976F2

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

Preview Lab → · Contrast checker → · Palette generator →

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