#4E78B5#4E78B5

#4E78B5 is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.0% C 0.106 H 257.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E78B5
RGBrgb(78, 120, 181)
HSLhsl(216, 41%, 51%)
HSVhsv(216, 57%, 71%)
CMYKcmyk(56.9%, 33.7%, 0%, 29%)
CIE-LABlab(49.96, 3.85, -36.66)
CIE-LCHlch(49.96, 36.87, 275.99°)
OKLaboklab(56.95% -0.0226 -0.1035)
OKLCHoklch(56.95% 0.106 257.7)
XYZxyz(18.1959, 18.3873, 46.2973)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78B5 #B58B4E
analogous
#4EABB5 #4E78B5 #574EB5
triadic
#4E78B5 #B54E78 #78B54E
tetradic
#4E78B5 #B54EAB #B58B4E #4EB557
square
#4E78B5 #B54EAB #B58B4E #4EB557
split-complementary
#4E78B5 #B5574E #ABB54E
monochromatic
#283F60 #3A5B8B #4E78B5 #7999C7 #A4BAD9

Accessibility & contrast

On white

4.49
#4E78B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4E78B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78B5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78B5#FFFFFF#000000##000000
##4E78B51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#5272B4
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e78b5;
/* rgb */ color: rgb(78, 120, 181);
/* oklch */ color: oklch(57.0% 0.106 257.7);
Tailwind
colors: {
  custom: {
    50: '#879ecb',
    500: '#4e78b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e78b5;
$custom-light: #879ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78b5",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 181
  },
  "hsl": {
    "h": 215.534,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.10595,
    "h": 257.7
  },
  "luminance": 0.18389
}

Semantic roles & 50–950 ramp

primary
#4E78B5
secondary
#C6B499
accent
#9F57D1
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E78B5

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

Preview Lab → · Contrast checker → · Palette generator →

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