#4E78F7#4E78F7

#4E78F7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.196 H 266.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E78F7
RGBrgb(78, 120, 247)
HSLhsl(225, 91%, 64%)
HSVhsv(225, 68%, 97%)
CMYKcmyk(68.4%, 51.4%, 0%, 3.1%)
CIE-LABlab(53.78, 26.46, -67.93)
CIE-LCHlch(53.78, 72.90, 291.28°)
OKLaboklab(61.11% -0.0111 -0.1952)
OKLCHoklch(61.11% 0.196 266.7)
XYZxyz(26.6410, 21.7654, 90.7748)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78F7 #F7CD4E
analogous
#4ECCF7 #4E78F7 #784EF7
triadic
#4E78F7 #F74E78 #78F74E
tetradic
#4E78F7 #F74ECC #F7CD4E #4EF778
square
#4E78F7 #F74ECC #F7CD4E #4EF778
split-complementary
#4E78F7 #F7784E #CCF74E
monochromatic
#0937C2 #134BF4 #4E78F7 #89A5FA #C3D1FC

Accessibility & contrast

On white

3.92
#4E78F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4E78F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78F7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78F7#FFFFFF#000000##000000
##4E78F71.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FC
Deuteranopia (green-blind)
#0079F4
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e78f7;
/* rgb */ color: rgb(78, 120, 247);
/* oklch */ color: oklch(61.1% 0.196 266.7);
Tailwind
colors: {
  custom: {
    50: '#929efb',
    500: '#4e78f7',
    950: '#000000',
  },
}
SCSS
$custom: #4e78f7;
$custom-light: #929efb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78f7",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 225.089,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.19555,
    "h": 266.7
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#4E78F7
secondary
#EEDFB3
accent
#AC00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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