#4E78BD#4E78BD

#4E78BD is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.4% C 0.117 H 259.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E78BD
RGBrgb(78, 120, 189)
HSLhsl(217, 46%, 52%)
HSVhsv(217, 59%, 74%)
CMYKcmyk(58.7%, 36.5%, 0%, 25.9%)
CIE-LABlab(50.36, 6.51, -40.64)
CIE-LCHlch(50.36, 41.16, 279.10°)
OKLaboklab(57.4% -0.0205 -0.1151)
OKLCHoklch(57.4% 0.117 259.9)
XYZxyz(19.0405, 18.7252, 50.7452)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78BD #BD934E
analogous
#4EB0BD #4E78BD #5B4EBD
triadic
#4E78BD #BD4E78 #78BD4E
tetradic
#4E78BD #BD4EB0 #BD934E #4EBD5B
square
#4E78BD #BD4EB0 #BD934E #4EBD5B
split-complementary
#4E78BD #BD5B4E #B0BD4E
monochromatic
#274069 #385B96 #4E78BD #7B9ACE #A7BCDE

Accessibility & contrast

On white

4.43
#4E78BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4E78BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78BD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78BD#FFFFFF#000000##000000
##4E78BD1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e78bd;
/* rgb */ color: rgb(78, 120, 189);
/* oklch */ color: oklch(57.4% 0.117 259.9);
Tailwind
colors: {
  custom: {
    50: '#889ed1',
    500: '#4e78bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e78bd;
$custom-light: #889ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78bd",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 217.297,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57396,
    "c": 0.11693,
    "h": 259.9
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#4E78BD
secondary
#CCB99B
accent
#A452D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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