#4E72AB#4E72AB

#4E72AB is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.1% C 0.099 H 259.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E72AB
RGBrgb(78, 114, 171)
HSLhsl(217, 37%, 49%)
HSVhsv(217, 54%, 67%)
CMYKcmyk(54.4%, 33.3%, 0%, 32.9%)
CIE-LABlab(47.74, 4.21, -34.35)
CIE-LCHlch(47.74, 34.61, 276.99°)
OKLaboklab(55.06% -0.0183 -0.0968)
OKLCHoklch(55.06% 0.099 259.3)
XYZxyz(16.5074, 16.5933, 40.8531)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72AB #AB874E
analogous
#4EA1AB #4E72AB #594EAB
triadic
#4E72AB #AB4E72 #72AB4E
tetradic
#4E72AB #AB4EA1 #AB874E #4EAB59
square
#4E72AB #AB4EA1 #AB874E #4EAB59
split-complementary
#4E72AB #AB594E #A1AB4E
monochromatic
#283A57 #3B5681 #4E72AB #7693C0 #A0B4D4

Accessibility & contrast

On white

4.86
#4E72AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E72AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E72AB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72AB#FFFFFF#000000##FFFFFF
##4E72AB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#506DAA
Tritanopia (blue-blind)
#197F87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e72ab;
/* rgb */ color: rgb(78, 114, 171);
/* oklch */ color: oklch(55.1% 0.099 259.3);
Tailwind
colors: {
  custom: {
    50: '#869ac4',
    500: '#4e72ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e72ab;
$custom-light: #869ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72ab",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 171
  },
  "hsl": {
    "h": 216.774,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55061,
    "c": 0.09854,
    "h": 259.3
  },
  "luminance": 0.16595
}

Semantic roles & 50–950 ramp

primary
#4E72AB
secondary
#C1AF94
accent
#A15ACD
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E12
muted
#7D7E81

Preview Lab

Preview with #4E72AB

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

Preview Lab → · Contrast checker → · Palette generator →

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