#4E78E9#4E78E9

#4E78E9 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.177 H 265.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4E78E9
RGBrgb(78, 120, 233)
HSLhsl(224, 78%, 61%)
HSVhsv(224, 67%, 91%)
CMYKcmyk(66.5%, 48.5%, 0%, 8.6%)
CIE-LABlab(52.88, 21.59, -61.58)
CIE-LCHlch(52.88, 65.26, 289.32°)
OKLaboklab(60.14% -0.0126 -0.1766)
OKLCHoklch(60.14% 0.177 265.9)
XYZxyz(24.5612, 20.9335, 79.8212)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78E9 #E9BF4E
analogous
#4EC5E9 #4E78E9 #714EE9
triadic
#4E78E9 #E94E78 #78E94E
tetradic
#4E78E9 #E94EC5 #E9BF4E #4EE971
square
#4E78E9 #E94EC5 #E9BF4E #4EE971
split-complementary
#4E78E9 #E9714E #C5E94E
monochromatic
#153DA8 #1C50DE #4E78E9 #84A2F0 #BBCBF7

Accessibility & contrast

On white

4.05
#4E78E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4E78E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78E9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78E9#FFFFFF#000000##000000
##4E78E91.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86ED
Deuteranopia (green-blind)
#0D78E7
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e78e9;
/* rgb */ color: rgb(78, 120, 233);
/* oklch */ color: oklch(60.1% 0.177 265.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ef1',
    500: '#4e78e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e78e9;
$custom-light: #8f9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78e9",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 223.742,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60143,
    "c": 0.17701,
    "h": 265.9
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#4E78E9
secondary
#E7D7AC
accent
#A20BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E78E9

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

Preview Lab → · Contrast checker → · Palette generator →

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