#4E78F5#4E78F5

#4E78F5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.0% C 0.193 H 266.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E78F5
RGBrgb(78, 120, 245)
HSLhsl(225, 89%, 63%)
HSVhsv(225, 68%, 96%)
CMYKcmyk(68.2%, 51%, 0%, 3.9%)
CIE-LABlab(53.65, 25.76, -67.03)
CIE-LCHlch(53.65, 71.81, 291.02°)
OKLaboklab(60.97% -0.0113 -0.1926)
OKLCHoklch(60.97% 0.193 266.6)
XYZxyz(26.3341, 21.6426, 89.1581)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78F5 #F5CB4E
analogous
#4ECCF5 #4E78F5 #774EF5
triadic
#4E78F5 #F54E78 #78F54E
tetradic
#4E78F5 #F54ECC #F5CB4E #4EF577
square
#4E78F5 #F54ECC #F5CB4E #4EF577
split-complementary
#4E78F5 #F5774E #CCF54E
monochromatic
#0B38BE #144CF2 #4E78F5 #88A4F8 #C2D0FC

Accessibility & contrast

On white

3.94
#4E78F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4E78F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78F5
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78F5#FFFFFF#000000##000000
##4E78F51.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988F9
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e78f5;
/* rgb */ color: rgb(78, 120, 245);
/* oklch */ color: oklch(61.0% 0.193 266.6);
Tailwind
colors: {
  custom: {
    50: '#929ef9',
    500: '#4e78f5',
    950: '#000000',
  },
}
SCSS
$custom: #4e78f5;
$custom-light: #929ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78f5",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 224.91,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.19292,
    "h": 266.6
  },
  "luminance": 0.21645
}

Semantic roles & 50–950 ramp

primary
#4E78F5
secondary
#EDDEB2
accent
#AC00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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