#4E72AC#4E72AC

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

Color values

HEX#4E72AC
RGBrgb(78, 114, 172)
HSLhsl(217, 38%, 49%)
HSVhsv(217, 55%, 67%)
CMYKcmyk(54.7%, 33.7%, 0%, 32.5%)
CIE-LABlab(47.79, 4.54, -34.85)
CIE-LCHlch(47.79, 35.15, 277.41°)
OKLaboklab(55.12% -0.0181 -0.0983)
OKLCHoklch(55.12% 0.1 259.6)
XYZxyz(16.6030, 16.6316, 41.3570)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72AC #AC884E
analogous
#4EA1AC #4E72AC #594EAC
triadic
#4E72AC #AC4E72 #72AC4E
tetradic
#4E72AC #AC4EA1 #AC884E #4EAC59
square
#4E72AC #AC4EA1 #AC884E #4EAC59
split-complementary
#4E72AC #AC594E #A1AC4E
monochromatic
#283A58 #3B5682 #4E72AC #7693C1 #A0B4D4

Accessibility & contrast

On white

4.85
#4E72AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E72AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E72AC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72AC#FFFFFF#000000##FFFFFF
##4E72AC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AE
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#187F87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e72ac;
/* rgb */ color: rgb(78, 114, 172);
/* oklch */ color: oklch(55.1% 0.100 259.6);
Tailwind
colors: {
  custom: {
    50: '#869ac5',
    500: '#4e72ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e72ac;
$custom-light: #869ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72ac",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 172
  },
  "hsl": {
    "h": 217.021,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55115,
    "c": 0.09994,
    "h": 259.6
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#4E72AC
secondary
#C1B095
accent
#A15ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0E13
muted
#7D7E82

Preview Lab

Preview with #4E72AC

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

Preview Lab → · Contrast checker → · Palette generator →

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