#4E78BB#4E78BB

#4E78BB is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.114 H 259.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4E78BB
RGBrgb(78, 120, 187)
HSLhsl(217, 44%, 52%)
HSVhsv(217, 58%, 73%)
CMYKcmyk(58.3%, 35.8%, 0%, 26.7%)
CIE-LABlab(50.26, 5.84, -39.65)
CIE-LCHlch(50.26, 40.08, 278.38°)
OKLaboklab(57.28% -0.021 -0.1122)
OKLCHoklch(57.28% 0.114 259.4)
XYZxyz(18.8249, 18.6389, 49.6097)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78BB #BB914E
analogous
#4EAFBB #4E78BB #5B4EBB
triadic
#4E78BB #BB4E78 #78BB4E
tetradic
#4E78BB #BB4EAF #BB914E #4EBB5B
square
#4E78BB #BB4EAF #BB914E #4EBB5B
split-complementary
#4E78BB #BB5B4E #AFBB4E
monochromatic
#284067 #395C93 #4E78BB #7A9ACC #A6BBDD

Accessibility & contrast

On white

4.44
#4E78BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4E78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78BB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78BB#FFFFFF#000000##000000
##4E78BB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e78bb;
/* rgb */ color: rgb(78, 120, 187);
/* oklch */ color: oklch(57.3% 0.114 259.4);
Tailwind
colors: {
  custom: {
    50: '#889ed0',
    500: '#4e78bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e78bb;
$custom-light: #889ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78bb",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 216.881,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.11418,
    "h": 259.4
  },
  "luminance": 0.1864
}

Semantic roles & 50–950 ramp

primary
#4E78BB
secondary
#CAB89B
accent
#A354D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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