#4E78BA#4E78BA

#4E78BA is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.2% C 0.113 H 259.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4E78BA
RGBrgb(78, 120, 186)
HSLhsl(217, 44%, 52%)
HSVhsv(217, 58%, 73%)
CMYKcmyk(58.1%, 35.5%, 0%, 27.1%)
CIE-LABlab(50.21, 5.51, -39.16)
CIE-LCHlch(50.21, 39.54, 278.01°)
OKLaboklab(57.23% -0.0213 -0.1108)
OKLCHoklch(57.23% 0.113 259.1)
XYZxyz(18.7182, 18.5962, 49.0479)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78BA #BA904E
analogous
#4EAEBA #4E78BA #5A4EBA
triadic
#4E78BA #BA4E78 #78BA4E
tetradic
#4E78BA #BA4EAE #BA904E #4EBA5A
square
#4E78BA #BA4EAE #BA904E #4EBA5A
split-complementary
#4E78BA #BA5A4E #AEBA4E
monochromatic
#284066 #395C92 #4E78BA #7A9ACB #A6BBDC

Accessibility & contrast

On white

4.45
#4E78BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4E78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78BA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78BA#FFFFFF#000000##000000
##4E78BA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#4F73B9
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e78ba;
/* rgb */ color: rgb(78, 120, 186);
/* oklch */ color: oklch(57.2% 0.113 259.1);
Tailwind
colors: {
  custom: {
    50: '#889ecf',
    500: '#4e78ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e78ba;
$custom-light: #889ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78ba",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 216.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57227,
    "c": 0.1128,
    "h": 259.1
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#4E78BA
secondary
#CAB79A
accent
#A254D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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