#4E78EB#4E78EB

#4E78EB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.180 H 266.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E78EB
RGBrgb(78, 120, 235)
HSLhsl(224, 80%, 61%)
HSVhsv(224, 67%, 92%)
CMYKcmyk(66.8%, 48.9%, 0%, 7.8%)
CIE-LABlab(53.00, 22.29, -62.50)
CIE-LCHlch(53.00, 66.35, 289.63°)
OKLaboklab(60.28% -0.0123 -0.1792)
OKLCHoklch(60.28% 0.18 266.1)
XYZxyz(24.8485, 21.0484, 81.3344)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78EB #EBC14E
analogous
#4EC7EB #4E78EB #734EEB
triadic
#4E78EB #EB4E78 #78EB4E
tetradic
#4E78EB #EB4EC7 #EBC14E #4EEB73
square
#4E78EB #EB4EC7 #EBC14E #4EEB73
split-complementary
#4E78EB #EB734E #C7EB4E
monochromatic
#133CAB #1A4FE2 #4E78EB #85A2F1 #BCCCF7

Accessibility & contrast

On white

4.03
#4E78EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4E78EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78EB#FFFFFF#000000##000000
##4E78EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#0178E9
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e78eb;
/* rgb */ color: rgb(78, 120, 235);
/* oklch */ color: oklch(60.3% 0.180 266.1);
Tailwind
colors: {
  custom: {
    50: '#909ef2',
    500: '#4e78eb',
    950: '#000000',
  },
}
SCSS
$custom: #4e78eb;
$custom-light: #909ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78eb",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 223.949,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60279,
    "c": 0.17967,
    "h": 266.1
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#4E78EB
secondary
#E8D8AD
accent
#A409DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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