#4E78B4#4E78B4

#4E78B4 is a mid, moderate blue. Relative luminance 0.183; OKLCH L 56.9% C 0.105 H 257.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4E78B4
RGBrgb(78, 120, 180)
HSLhsl(215, 40%, 51%)
HSVhsv(215, 57%, 71%)
CMYKcmyk(56.7%, 33.3%, 0%, 29.4%)
CIE-LABlab(49.91, 3.52, -36.16)
CIE-LCHlch(49.91, 36.33, 275.56°)
OKLaboklab(56.9% -0.0229 -0.102)
OKLCHoklch(56.9% 0.105 257.4)
XYZxyz(18.0937, 18.3464, 45.7589)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78B4 #B48A4E
analogous
#4EABB4 #4E78B4 #574EB4
triadic
#4E78B4 #B44E78 #78B44E
tetradic
#4E78B4 #B44EAB #B48A4E #4EB457
square
#4E78B4 #B44EAB #B48A4E #4EB457
split-complementary
#4E78B4 #B4574E #ABB44E
monochromatic
#283F5F #3B5B8A #4E78B4 #7999C6 #A4BAD8

Accessibility & contrast

On white

4.50
#4E78B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4E78B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78B4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78B4#FFFFFF#000000##000000
##4E78B41.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB7
Deuteranopia (green-blind)
#5372B3
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e78b4;
/* rgb */ color: rgb(78, 120, 180);
/* oklch */ color: oklch(56.9% 0.105 257.4);
Tailwind
colors: {
  custom: {
    50: '#879eca',
    500: '#4e78b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e78b4;
$custom-light: #879eca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78b4",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 180
  },
  "hsl": {
    "h": 215.294,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.10459,
    "h": 257.4
  },
  "luminance": 0.18348
}

Semantic roles & 50–950 ramp

primary
#4E78B4
secondary
#C6B398
accent
#9F57D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E78B4

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

Preview Lab → · Contrast checker → · Palette generator →

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