#4E72B3#4E72B3

#4E72B3 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.5% C 0.110 H 261.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4E72B3
RGBrgb(78, 114, 179)
HSLhsl(219, 40%, 50%)
HSVhsv(219, 56%, 70%)
CMYKcmyk(56.4%, 36.3%, 0%, 29.8%)
CIE-LABlab(48.14, 6.84, -38.37)
CIE-LCHlch(48.14, 38.98, 280.11°)
OKLaboklab(55.5% -0.0162 -0.1085)
OKLCHoklch(55.5% 0.11 261.5)
XYZxyz(17.2931, 16.9076, 44.9913)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72B3 #B38F4E
analogous
#4EA4B3 #4E72B3 #5C4EB3
triadic
#4E72B3 #B34E72 #72B34E
tetradic
#4E72B3 #B34EA4 #B38F4E #4EB35C
square
#4E72B3 #B34EA4 #B38F4E #4EB35C
split-complementary
#4E72B3 #B35C4E #A4B34E
monochromatic
#283C5E #3B5789 #4E72B3 #7994C5 #A4B6D8

Accessibility & contrast

On white

4.79
#4E72B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4E72B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E72B3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72B3#FFFFFF#000000##FFFFFF
##4E72B31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B6
Deuteranopia (green-blind)
#4B6EB2
Tritanopia (blue-blind)
#07808A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e72b3;
/* rgb */ color: rgb(78, 114, 179);
/* oklch */ color: oklch(55.5% 0.110 261.5);
Tailwind
colors: {
  custom: {
    50: '#879aca',
    500: '#4e72b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e72b3;
$custom-light: #879aca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72b3",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 179
  },
  "hsl": {
    "h": 218.614,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55503,
    "c": 0.10975,
    "h": 261.5
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#4E72B3
secondary
#C5B598
accent
#A558D0
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E72B3

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

Preview Lab → · Contrast checker → · Palette generator →

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