#4E78D1#4E78D1

#4E78D1 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.144 H 263.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4E78D1
RGBrgb(78, 120, 209)
HSLhsl(221, 59%, 56%)
HSVhsv(221, 63%, 82%)
CMYKcmyk(62.7%, 42.6%, 0%, 18%)
CIE-LABlab(51.44, 13.30, -50.35)
CIE-LCHlch(51.44, 52.08, 284.79°)
OKLaboklab(58.58% -0.0162 -0.1435)
OKLCHoklch(58.58% 0.144 263.5)
XYZxyz(21.3630, 19.6542, 62.9771)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78D1 #D1A74E
analogous
#4EBAD1 #4E78D1 #664ED1
triadic
#4E78D1 #D14E78 #78D14E
tetradic
#4E78D1 #D14EBA #D1A74E #4ED166
square
#4E78D1 #D14EBA #D1A74E #4ED166
split-complementary
#4E78D1 #D1664E #BAD14E
monochromatic
#224183 #2F59B3 #4E78D1 #7F9DDE #AFC2EA

Accessibility & contrast

On white

4.26
#4E78D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4E78D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78D1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78D1#FFFFFF#000000##000000
##4E78D11.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D4
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e78d1;
/* rgb */ color: rgb(78, 120, 209);
/* oklch */ color: oklch(58.6% 0.144 263.5);
Tailwind
colors: {
  custom: {
    50: '#8b9edf',
    500: '#4e78d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e78d1;
$custom-light: #8b9edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78d1",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 209
  },
  "hsl": {
    "h": 220.763,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.14447,
    "h": 263.5
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#4E78D1
secondary
#D8C7A2
accent
#B046E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E78D1

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

Preview Lab → · Contrast checker → · Palette generator →

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