#4E78D0#4E78D0

#4E78D0 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.143 H 263.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#4E78D0
RGBrgb(78, 120, 208)
HSLhsl(221, 58%, 56%)
HSVhsv(221, 63%, 82%)
CMYKcmyk(62.5%, 42.3%, 0%, 18.4%)
CIE-LABlab(51.39, 12.95, -49.88)
CIE-LCHlch(51.39, 51.53, 284.56°)
OKLaboklab(58.52% -0.0164 -0.1421)
OKLCHoklch(58.52% 0.143 263.4)
XYZxyz(21.2396, 19.6048, 62.3271)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78D0 #D0A64E
analogous
#4EB9D0 #4E78D0 #654ED0
triadic
#4E78D0 #D04E78 #78D04E
tetradic
#4E78D0 #D04EB9 #D0A64E #4ED065
square
#4E78D0 #D04EB9 #D0A64E #4ED065
split-complementary
#4E78D0 #D0654E #B9D04E
monochromatic
#224181 #2F59B2 #4E78D0 #7E9DDD #AFC2EA

Accessibility & contrast

On white

4.27
#4E78D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#4E78D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78D0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78D0#FFFFFF#000000##000000
##4E78D01.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5081D3
Deuteranopia (green-blind)
#3C75CE
Tritanopia (blue-blind)
#008C9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e78d0;
/* rgb */ color: rgb(78, 120, 208);
/* oklch */ color: oklch(58.5% 0.143 263.4);
Tailwind
colors: {
  custom: {
    50: '#8b9edf',
    500: '#4e78d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e78d0;
$custom-light: #8b9edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78d0",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 208
  },
  "hsl": {
    "h": 220.615,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58521,
    "c": 0.1431,
    "h": 263.4
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#4E78D0
secondary
#D8C6A2
accent
#AF47E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E78D0

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

Preview Lab → · Contrast checker → · Palette generator →

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