#4E78EC#4E78EC

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

Color values

HEX#4E78EC
RGBrgb(78, 120, 236)
HSLhsl(224, 81%, 62%)
HSVhsv(224, 67%, 93%)
CMYKcmyk(66.9%, 49.2%, 0%, 7.5%)
CIE-LABlab(53.07, 22.63, -62.96)
CIE-LCHlch(53.07, 66.90, 289.77°)
OKLaboklab(60.35% -0.0122 -0.1806)
OKLCHoklch(60.35% 0.181 266.1)
XYZxyz(24.9934, 21.1063, 82.0974)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78EC #ECC24E
analogous
#4EC7EC #4E78EC #734EEC
triadic
#4E78EC #EC4E78 #78EC4E
tetradic
#4E78EC #EC4EC7 #ECC24E #4EEC73
square
#4E78EC #EC4EC7 #ECC24E #4EEC73
split-complementary
#4E78EC #EC734E #C7EC4E
monochromatic
#133CAD #194FE4 #4E78EC #85A2F2 #BDCCF8

Accessibility & contrast

On white

4.02
#4E78EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E78EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78EC#FFFFFF#000000##000000
##4E78EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686F0
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e78ec;
/* rgb */ color: rgb(78, 120, 236);
/* oklch */ color: oklch(60.3% 0.181 266.1);
Tailwind
colors: {
  custom: {
    50: '#909ef3',
    500: '#4e78ec',
    950: '#000000',
  },
}
SCSS
$custom: #4e78ec;
$custom-light: #909ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78ec",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 224.051,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60347,
    "c": 0.18101,
    "h": 266.1
  },
  "luminance": 0.21109
}

Semantic roles & 50–950 ramp

primary
#4E78EC
secondary
#E8D9AE
accent
#A409DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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