#4E78EF#4E78EF

#4E78EF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.185 H 266.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E78EF
RGBrgb(78, 120, 239)
HSLhsl(224, 83%, 62%)
HSVhsv(224, 67%, 94%)
CMYKcmyk(67.4%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.26, 23.68, -64.32)
CIE-LCHlch(53.26, 68.54, 290.21°)
OKLaboklab(60.55% -0.0119 -0.1846)
OKLCHoklch(60.55% 0.185 266.3)
XYZxyz(25.4329, 21.2821, 84.4122)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78EF #EFC54E
analogous
#4EC8EF #4E78EF #754EEF
triadic
#4E78EF #EF4E78 #78EF4E
tetradic
#4E78EF #EF4EC8 #EFC54E #4EEF75
square
#4E78EF #EF4EC8 #EFC54E #4EEF75
split-complementary
#4E78EF #EF754E #C8EF4E
monochromatic
#103AB2 #164DEA #4E78EF #86A3F4 #BECEF9

Accessibility & contrast

On white

3.99
#4E78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4E78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78EF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78EF#FFFFFF#000000##000000
##4E78EF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e78ef;
/* rgb */ color: rgb(78, 120, 239);
/* oklch */ color: oklch(60.6% 0.185 266.3);
Tailwind
colors: {
  custom: {
    50: '#909ef5',
    500: '#4e78ef',
    950: '#000000',
  },
}
SCSS
$custom: #4e78ef;
$custom-light: #909ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78ef",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 224.348,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.18499,
    "h": 266.3
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#4E78EF
secondary
#EADBAF
accent
#A706E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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