#4E78E0#4E78E0

#4E78E0 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.5% C 0.165 H 265.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E78E0
RGBrgb(78, 120, 224)
HSLhsl(223, 70%, 59%)
HSVhsv(223, 65%, 88%)
CMYKcmyk(65.2%, 46.4%, 0%, 12.2%)
CIE-LABlab(52.32, 18.47, -57.43)
CIE-LCHlch(52.32, 60.32, 287.83°)
OKLaboklab(59.54% -0.0138 -0.1643)
OKLCHoklch(59.54% 0.165 265.2)
XYZxyz(23.3082, 20.4323, 73.2220)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78E0 #E0B64E
analogous
#4EC1E0 #4E78E0 #6D4EE0
triadic
#4E78E0 #E04E78 #78E04E
tetradic
#4E78E0 #E04EC1 #E0B64E #4EE06D
square
#4E78E0 #E04EC1 #E0B64E #4EE06D
split-complementary
#4E78E0 #E06D4E #C1E04E
monochromatic
#1B3F99 #2455CD #4E78E0 #82A0E9 #B6C7F2

Accessibility & contrast

On white

4.13
#4E78E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E78E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78E0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78E0#FFFFFF#000000##000000
##4E78E01.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4384E4
Deuteranopia (green-blind)
#2677DE
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e78e0;
/* rgb */ color: rgb(78, 120, 224);
/* oklch */ color: oklch(59.5% 0.165 265.2);
Tailwind
colors: {
  custom: {
    50: '#8e9eea',
    500: '#4e78e0',
    950: '#000000',
  },
}
SCSS
$custom: #4e78e0;
$custom-light: #8e9eea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78e0",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 224
  },
  "hsl": {
    "h": 222.74,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.16491,
    "h": 265.2
  },
  "luminance": 0.20434
}

Semantic roles & 50–950 ramp

primary
#4E78E0
secondary
#E1D1A8
accent
#BA3BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E78E0

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

Preview Lab → · Contrast checker → · Palette generator →

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