#4E72B1#4E72B1

#4E72B1 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.4% C 0.107 H 261.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E72B1
RGBrgb(78, 114, 177)
HSLhsl(218, 39%, 50%)
HSVhsv(218, 56%, 69%)
CMYKcmyk(55.9%, 35.6%, 0%, 30.6%)
CIE-LABlab(48.04, 6.18, -37.37)
CIE-LCHlch(48.04, 37.88, 279.39°)
OKLaboklab(55.39% -0.0167 -0.1056)
OKLCHoklch(55.39% 0.107 261)
XYZxyz(17.0923, 16.8273, 43.9337)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72B1 #B18D4E
analogous
#4EA4B1 #4E72B1 #5B4EB1
triadic
#4E72B1 #B14E72 #72B14E
tetradic
#4E72B1 #B14EA4 #B18D4E #4EB15B
square
#4E72B1 #B14EA4 #B18D4E #4EB15B
split-complementary
#4E72B1 #B15B4E #A4B14E
monochromatic
#293B5C #3B5787 #4E72B1 #7894C4 #A3B6D6

Accessibility & contrast

On white

4.81
#4E72B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4E72B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E72B1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72B1#FFFFFF#000000##FFFFFF
##4E72B11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B4
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#0D8089
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e72b1;
/* rgb */ color: rgb(78, 114, 177);
/* oklch */ color: oklch(55.4% 0.107 261.0);
Tailwind
colors: {
  custom: {
    50: '#879ac8',
    500: '#4e72b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e72b1;
$custom-light: #879ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72b1",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 177
  },
  "hsl": {
    "h": 218.182,
    "s": 38.824,
    "l": 50
  },
  "oklch": {
    "l": 0.55391,
    "c": 0.10694,
    "h": 261
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#4E72B1
secondary
#C4B397
accent
#A459CF
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E72B1

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

Preview Lab → · Contrast checker → · Palette generator →

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