#7976DF#7976DF

#7976DF is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.8% C 0.155 H 282.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7976DF
RGBrgb(121, 118, 223)
HSLhsl(242, 62%, 67%)
HSVhsv(242, 47%, 87%)
CMYKcmyk(45.7%, 47.1%, 0%, 12.5%)
CIE-LABlab(54.39, 27.99, -53.40)
CIE-LCHlch(54.39, 60.29, 297.66°)
OKLaboklab(61.79% 0.0326 -0.1516)
OKLCHoklch(61.79% 0.155 282.1)
XYZxyz(27.6789, 22.3482, 72.6529)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7976DF #DCDF76
analogous
#76A8DF #7976DF #AE76DF
triadic
#7976DF #DF7976 #76DF79
tetradic
#7976DF #DF76A8 #DCDF76 #76DFAE
square
#7976DF #DF76A8 #DCDF76 #76DFAE
split-complementary
#7976DF #DFAE76 #A8DF76
monochromatic
#2D29B1 #4844D3 #7976DF #AAA8EB #DAD9F6

Accessibility & contrast

On white

3.84
#7976DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7976DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7976DF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7976DF#FFFFFF#000000##000000
##7976DF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A86E3
Deuteranopia (green-blind)
#447EDD
Tritanopia (blue-blind)
#578CA0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7976df;
/* rgb */ color: rgb(121, 118, 223);
/* oklch */ color: oklch(61.8% 0.155 282.1);
Tailwind
colors: {
  custom: {
    50: '#a59de9',
    500: '#7976df',
    950: '#000000',
  },
}
SCSS
$custom: #7976df;
$custom-light: #a59de9;
$custom-dark: #000000;
JSON
{
  "hex": "#7976df",
  "rgb": {
    "r": 121,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 241.714,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61786,
    "c": 0.15503,
    "h": 282.1
  },
  "luminance": 0.2235
}

Semantic roles & 50–950 ramp

primary
#7976DF
secondary
#E8E9C8
accent
#CA1CC5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7976DF

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

Preview Lab → · Contrast checker → · Palette generator →

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