#4E78D5#4E78D5

#4E78D5 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.150 H 264.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4E78D5
RGBrgb(78, 120, 213)
HSLhsl(221, 62%, 57%)
HSVhsv(221, 63%, 84%)
CMYKcmyk(63.4%, 43.7%, 0%, 16.5%)
CIE-LABlab(51.67, 14.67, -52.26)
CIE-LCHlch(51.67, 54.28, 285.68°)
OKLaboklab(58.83% -0.0155 -0.1491)
OKLCHoklch(58.83% 0.15 264.1)
XYZxyz(21.8644, 19.8547, 65.6180)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78D5 #D5AB4E
analogous
#4EBCD5 #4E78D5 #674ED5
triadic
#4E78D5 #D54E78 #78D54E
tetradic
#4E78D5 #D54EBC #D5AB4E #4ED567
square
#4E78D5 #D54EBC #D5AB4E #4ED567
split-complementary
#4E78D5 #D5674E #BCD54E
monochromatic
#204188 #2C58BA #4E78D5 #7F9EE1 #B1C3EC

Accessibility & contrast

On white

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

On black

4.97
#4E78D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78D5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78D5#FFFFFF#000000##000000
##4E78D51.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#3775D3
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e78d5;
/* rgb */ color: rgb(78, 120, 213);
/* oklch */ color: oklch(58.8% 0.150 264.1);
Tailwind
colors: {
  custom: {
    50: '#8c9ee2',
    500: '#4e78d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e78d5;
$custom-light: #8c9ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78d5",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 213
  },
  "hsl": {
    "h": 221.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58833,
    "c": 0.14995,
    "h": 264.1
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#4E78D5
secondary
#DBCAA4
accent
#B243E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E78D5

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

Preview Lab → · Contrast checker → · Palette generator →

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