#4E78F2#4E78F2

#4E78F2 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.8% C 0.189 H 266.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4E78F2
RGBrgb(78, 120, 242)
HSLhsl(225, 86%, 63%)
HSVhsv(225, 68%, 95%)
CMYKcmyk(67.8%, 50.4%, 0%, 5.1%)
CIE-LABlab(53.45, 24.72, -65.68)
CIE-LCHlch(53.45, 70.18, 290.62°)
OKLaboklab(60.76% -0.0116 -0.1886)
OKLCHoklch(60.76% 0.189 266.5)
XYZxyz(25.8798, 21.4609, 86.7657)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78F2 #F2C84E
analogous
#4ECAF2 #4E78F2 #764EF2
triadic
#4E78F2 #F24E78 #78F24E
tetradic
#4E78F2 #F24ECA #F2C84E #4EF276
square
#4E78F2 #F24ECA #F2C84E #4EF276
split-complementary
#4E78F2 #F2764E #CAF24E
monochromatic
#0E39B8 #154DEE #4E78F2 #87A3F6 #C0CFFA

Accessibility & contrast

On white

3.97
#4E78F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4E78F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78F2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78F2#FFFFFF#000000##000000
##4E78F21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e78f2;
/* rgb */ color: rgb(78, 120, 242);
/* oklch */ color: oklch(60.8% 0.189 266.5);
Tailwind
colors: {
  custom: {
    50: '#919ef7',
    500: '#4e78f2',
    950: '#000000',
  },
}
SCSS
$custom: #4e78f2;
$custom-light: #919ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78f2",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 224.634,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.18896,
    "h": 266.5
  },
  "luminance": 0.21463
}

Semantic roles & 50–950 ramp

primary
#4E78F2
secondary
#ECDCB0
accent
#A903E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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