#4E78D6#4E78D6

#4E78D6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.151 H 264.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E78D6
RGBrgb(78, 120, 214)
HSLhsl(221, 62%, 57%)
HSVhsv(221, 64%, 84%)
CMYKcmyk(63.6%, 43.9%, 0%, 16.1%)
CIE-LABlab(51.73, 15.02, -52.73)
CIE-LCHlch(51.73, 54.83, 285.89°)
OKLaboklab(58.9% -0.0153 -0.1505)
OKLCHoklch(58.9% 0.151 264.2)
XYZxyz(21.9917, 19.9057, 66.2885)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78D6 #D6AC4E
analogous
#4EBCD6 #4E78D6 #684ED6
triadic
#4E78D6 #D64E78 #78D64E
tetradic
#4E78D6 #D64EBC #D6AC4E #4ED668
square
#4E78D6 #D64EBC #D6AC4E #4ED668
split-complementary
#4E78D6 #D6684E #BCD64E
monochromatic
#20418A #2B58BB #4E78D6 #809EE2 #B1C4ED

Accessibility & contrast

On white

4.22
#4E78D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E78D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78D6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78D6#FFFFFF#000000##000000
##4E78D61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82DA
Deuteranopia (green-blind)
#3676D4
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e78d6;
/* rgb */ color: rgb(78, 120, 214);
/* oklch */ color: oklch(58.9% 0.151 264.2);
Tailwind
colors: {
  custom: {
    50: '#8c9ee3',
    500: '#4e78d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e78d6;
$custom-light: #8c9ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78d6",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 214
  },
  "hsl": {
    "h": 221.471,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.15131,
    "h": 264.2
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#4E78D6
secondary
#DBCAA4
accent
#B342E5
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4E78D6

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

Preview Lab → · Contrast checker → · Palette generator →

#4E78D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva