#4E72C5#4E72C5

#4E72C5 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.6% C 0.135 H 264.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4E72C5
RGBrgb(78, 114, 197)
HSLhsl(222, 51%, 54%)
HSVhsv(222, 60%, 77%)
CMYKcmyk(60.4%, 42.1%, 0%, 22.7%)
CIE-LABlab(49.11, 12.90, -47.23)
CIE-LCHlch(49.11, 48.96, 285.28°)
OKLaboklab(56.57% -0.0123 -0.1344)
OKLCHoklch(56.57% 0.135 264.8)
XYZxyz(19.2338, 17.6839, 55.2122)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72C5 #C5A14E
analogous
#4EAEC5 #4E72C5 #664EC5
triadic
#4E72C5 #C54E72 #72C54E
tetradic
#4E72C5 #C54EAE #C5A14E #4EC566
square
#4E72C5 #C54EAE #C5A14E #4EC566
split-complementary
#4E72C5 #C5664E #AEC54E
monochromatic
#263D73 #3556A1 #4E72C5 #7C97D4 #AABBE3

Accessibility & contrast

On white

4.63
#4E72C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4E72C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E72C5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72C5#FFFFFF#000000##FFFFFF
##4E72C51.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7BC8
Deuteranopia (green-blind)
#3C70C3
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e72c5;
/* rgb */ color: rgb(78, 114, 197);
/* oklch */ color: oklch(56.6% 0.135 264.8);
Tailwind
colors: {
  custom: {
    50: '#8a9ad7',
    500: '#4e72c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e72c5;
$custom-light: #8a9ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72c5",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 197
  },
  "hsl": {
    "h": 221.849,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.13501,
    "h": 264.8
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#4E72C5
secondary
#D1C19E
accent
#B04EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4E72C5

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

Preview Lab → · Contrast checker → · Palette generator →

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