#7880EC#7880EC

#7880EC is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.4% C 0.160 H 277.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7880EC
RGBrgb(120, 128, 236)
HSLhsl(236, 75%, 70%)
HSVhsv(236, 49%, 93%)
CMYKcmyk(49.2%, 45.8%, 0%, 7.5%)
CIE-LABlab(57.55, 25.68, -55.64)
CIE-LCHlch(57.55, 61.28, 294.78°)
OKLaboklab(64.39% 0.0215 -0.1581)
OKLCHoklch(64.39% 0.16 277.7)
XYZxyz(30.6005, 25.4858, 82.6474)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7880EC #ECE478
analogous
#78BAEC #7880EC #AA78EC
triadic
#7880EC #EC7880 #80EC78
tetradic
#7880EC #EC78BA #ECE478 #78ECAA
square
#7880EC #EC78BA #ECE478 #78ECAA
split-complementary
#7880EC #ECAA78 #BAEC78
monochromatic
#1D29CD #424EE4 #7880EC #AEB2F4 #E3E5FB

Accessibility & contrast

On white

3.44
#7880EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7880EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7880EC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7880EC#FFFFFF#000000##000000
##7880EC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#4A97AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7880ec;
/* rgb */ color: rgb(120, 128, 236);
/* oklch */ color: oklch(64.4% 0.160 277.7);
Tailwind
colors: {
  custom: {
    50: '#a6a4f3',
    500: '#7880ec',
    950: '#000000',
  },
}
SCSS
$custom: #7880ec;
$custom-light: #a6a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7880ec",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 236
  },
  "hsl": {
    "h": 235.862,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6439,
    "c": 0.15954,
    "h": 277.7
  },
  "luminance": 0.25488
}

Semantic roles & 50–950 ramp

primary
#7880EC
secondary
#F0EED0
accent
#CA0ED7
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7880EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7880EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva