#7878DD#7878DD

#7878DD is a mid, vivid blue. Relative luminance 0.226; OKLCH L 62.0% C 0.150 H 281.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7878DD
RGBrgb(120, 120, 221)
HSLhsl(240, 60%, 67%)
HSVhsv(240, 46%, 87%)
CMYKcmyk(45.7%, 45.7%, 0%, 13.3%)
CIE-LABlab(54.70, 25.98, -51.78)
CIE-LCHlch(54.70, 57.93, 296.64°)
OKLaboklab(61.97% 0.0289 -0.1468)
OKLCHoklch(61.97% 0.15 281.1)
XYZxyz(27.5094, 22.6451, 71.3140)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7878DD #DDDD78
analogous
#78ABDD #7878DD #AB78DD
triadic
#7878DD #DD7878 #78DD78
tetradic
#7878DD #DD78AB #DDDD78 #78DDAB
square
#7878DD #DD78AB #DDDD78 #78DDAB
split-complementary
#7878DD #DDAB78 #ABDD78
monochromatic
#2C2CAF #4747D1 #7878DD #A9A9E9 #DADAF6

Accessibility & contrast

On white

3.80
#7878DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7878DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7878DD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7878DD#FFFFFF#000000##000000
##7878DD1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E1
Deuteranopia (green-blind)
#497FDB
Tritanopia (blue-blind)
#568DA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7878dd;
/* rgb */ color: rgb(120, 120, 221);
/* oklch */ color: oklch(62.0% 0.150 281.1);
Tailwind
colors: {
  custom: {
    50: '#a49fe8',
    500: '#7878dd',
    950: '#000000',
  },
}
SCSS
$custom: #7878dd;
$custom-light: #a49fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7878dd",
  "rgb": {
    "r": 120,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 240,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.14965,
    "h": 281.1
  },
  "luminance": 0.22646
}

Semantic roles & 50–950 ramp

primary
#7878DD
secondary
#E9E9C8
accent
#C71EC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7878DD

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

Preview Lab → · Contrast checker → · Palette generator →

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