#7878EE#7878EE

#7878EE is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.0% C 0.173 H 280.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7878EE
RGBrgb(120, 120, 238)
HSLhsl(240, 78%, 70%)
HSVhsv(240, 50%, 93%)
CMYKcmyk(49.6%, 49.6%, 0%, 6.7%)
CIE-LABlab(55.68, 31.04, -59.73)
CIE-LCHlch(55.68, 67.32, 297.46°)
OKLaboklab(63.02% 0.0307 -0.1702)
OKLCHoklch(63.02% 0.173 280.2)
XYZxyz(29.8901, 23.5974, 83.8521)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878EE #EEEE78
analogous
#78B3EE #7878EE #B378EE
triadic
#7878EE #EE7878 #78EE78
tetradic
#7878EE #EE78B3 #EEEE78 #78EEB3
square
#7878EE #EE78B3 #EEEE78 #78EEB3
split-complementary
#7878EE #EEB378 #B3EE78
monochromatic
#1A1AD1 #4242E7 #7878EE #AEAEF5 #E4E4FC

Accessibility & contrast

On white

3.67
#7878EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7878EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878EE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878EE#FFFFFF#000000##000000
##7878EE1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#3581EB
Tritanopia (blue-blind)
#4A92A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7878ee;
/* rgb */ color: rgb(120, 120, 238);
/* oklch */ color: oklch(63.0% 0.173 280.2);
Tailwind
colors: {
  custom: {
    50: '#a69ff4',
    500: '#7878ee',
    950: '#000000',
  },
}
SCSS
$custom: #7878ee;
$custom-light: #a69ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7878ee",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 240,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63019,
    "c": 0.17292,
    "h": 280.2
  },
  "luminance": 0.23599
}

Semantic roles & 50–950 ramp

primary
#7878EE
secondary
#F1F1D1
accent
#DA0CDA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7878EE

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

Preview Lab → · Contrast checker → · Palette generator →

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