#4E72B4#4E72B4

#4E72B4 is a mid, moderate blue. Relative luminance 0.170; OKLCH L 55.6% C 0.111 H 261.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E72B4
RGBrgb(78, 114, 180)
HSLhsl(219, 40%, 51%)
HSVhsv(219, 57%, 71%)
CMYKcmyk(56.7%, 36.7%, 0%, 29.4%)
CIE-LABlab(48.19, 7.17, -38.87)
CIE-LCHlch(48.19, 39.53, 280.46°)
OKLaboklab(55.56% -0.016 -0.11)
OKLCHoklch(55.56% 0.111 261.7)
XYZxyz(17.3946, 16.9482, 45.5259)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72B4 #B4904E
analogous
#4EA5B4 #4E72B4 #5D4EB4
triadic
#4E72B4 #B44E72 #72B44E
tetradic
#4E72B4 #B44EA5 #B4904E #4EB45D
square
#4E72B4 #B44EA5 #B4904E #4EB45D
split-complementary
#4E72B4 #B45D4E #A5B44E
monochromatic
#283C5F #3B578A #4E72B4 #7994C6 #A4B6D8

Accessibility & contrast

On white

4.78
#4E72B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E72B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E72B4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72B4#FFFFFF#000000##FFFFFF
##4E72B41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5778B7
Deuteranopia (green-blind)
#4A6EB3
Tritanopia (blue-blind)
#04818A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e72b4;
/* rgb */ color: rgb(78, 114, 180);
/* oklch */ color: oklch(55.6% 0.111 261.7);
Tailwind
colors: {
  custom: {
    50: '#879acb',
    500: '#4e72b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e72b4;
$custom-light: #879acb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72b4",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 180
  },
  "hsl": {
    "h": 218.824,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5556,
    "c": 0.11116,
    "h": 261.7
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#4E72B4
secondary
#C6B698
accent
#A657D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E72B4

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

Preview Lab → · Contrast checker → · Palette generator →

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