#7878EB#7878EB

#7878EB is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.8% C 0.169 H 280.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7878EB
RGBrgb(120, 120, 235)
HSLhsl(240, 74%, 70%)
HSVhsv(240, 49%, 92%)
CMYKcmyk(48.9%, 48.9%, 0%, 7.8%)
CIE-LABlab(55.51, 30.14, -58.34)
CIE-LCHlch(55.51, 65.67, 297.32°)
OKLaboklab(62.83% 0.0304 -0.1661)
OKLCHoklch(62.83% 0.169 280.4)
XYZxyz(29.4530, 23.4226, 81.5502)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878EB #EBEB78
analogous
#78B2EB #7878EB #B278EB
triadic
#7878EB #EB7878 #78EB78
tetradic
#7878EB #EB78B2 #EBEB78 #78EBB2
square
#7878EB #EB78B2 #EBEB78 #78EBB2
split-complementary
#7878EB #EBB278 #B2EB78
monochromatic
#1E1ECB #4343E3 #7878EB #ADADF3 #E3E3FB

Accessibility & contrast

On white

3.69
#7878EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7878EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878EB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878EB#FFFFFF#000000##000000
##7878EB1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#3981E8
Tritanopia (blue-blind)
#4C91A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7878eb;
/* rgb */ color: rgb(120, 120, 235);
/* oklch */ color: oklch(62.8% 0.169 280.4);
Tailwind
colors: {
  custom: {
    50: '#a69ff2',
    500: '#7878eb',
    950: '#000000',
  },
}
SCSS
$custom: #7878eb;
$custom-light: #a69ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7878eb",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62829,
    "c": 0.16886,
    "h": 280.4
  },
  "luminance": 0.23424
}

Semantic roles & 50–950 ramp

primary
#7878EB
secondary
#F0F0CF
accent
#D60FD6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7878EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7878EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva