#7878CD#7878CD

#7878CD is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.127 H 282.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7878CD
RGBrgb(120, 120, 205)
HSLhsl(240, 46%, 64%)
HSVhsv(240, 41%, 80%)
CMYKcmyk(41.5%, 41.5%, 0%, 19.6%)
CIE-LABlab(53.85, 21.32, -44.10)
CIE-LCHlch(53.85, 48.98, 295.80°)
OKLaboklab(61.04% 0.0264 -0.1244)
OKLCHoklch(61.04% 0.127 282)
XYZxyz(25.4784, 21.8327, 60.6174)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878CD #CDCD78
analogous
#78A2CD #7878CD #A278CD
triadic
#7878CD #CD7878 #78CD78
tetradic
#7878CD #CD78A2 #CDCD78 #78CDA2
square
#7878CD #CD78A2 #CDCD78 #78CDA2
split-complementary
#7878CD #CDA278 #A2CD78
monochromatic
#373794 #4B4BBC #7878CD #A5A5DE #D1D1EE

Accessibility & contrast

On white

3.91
#7878CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7878CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878CD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878CD#FFFFFF#000000##000000
##7878CD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A84D0
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#5E8999
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7878cd;
/* rgb */ color: rgb(120, 120, 205);
/* oklch */ color: oklch(61.0% 0.127 282.0);
Tailwind
colors: {
  custom: {
    50: '#a39edc',
    500: '#7878cd',
    950: '#000000',
  },
}
SCSS
$custom: #7878cd;
$custom-light: #a39edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7878cd",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.12712,
    "h": 282
  },
  "luminance": 0.21834
}

Semantic roles & 50–950 ramp

primary
#7878CD
secondary
#DFDFC1
accent
#B92CB9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7878CD

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

Preview Lab → · Contrast checker → · Palette generator →

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