#4E72BC#4E72BC

#4E72BC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.0% C 0.122 H 263.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4E72BC
RGBrgb(78, 114, 188)
HSLhsl(220, 45%, 52%)
HSVhsv(220, 59%, 74%)
CMYKcmyk(58.5%, 39.4%, 0%, 26.3%)
CIE-LABlab(48.62, 9.85, -42.83)
CIE-LCHlch(48.62, 43.95, 282.95°)
OKLaboklab(56.02% -0.0141 -0.1216)
OKLCHoklch(56.02% 0.122 263.4)
XYZxyz(18.2332, 17.2837, 49.9424)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72BC #BC984E
analogous
#4EA9BC #4E72BC #614EBC
triadic
#4E72BC #BC4E72 #72BC4E
tetradic
#4E72BC #BC4EA9 #BC984E #4EBC61
square
#4E72BC #BC4EA9 #BC984E #4EBC61
split-complementary
#4E72BC #BC614E #A9BC4E
monochromatic
#273D68 #385695 #4E72BC #7A95CD #A7B9DE

Accessibility & contrast

On white

4.71
#4E72BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4E72BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E72BC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72BC#FFFFFF#000000##FFFFFF
##4E72BC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e72bc;
/* rgb */ color: rgb(78, 114, 188);
/* oklch */ color: oklch(56.0% 0.122 263.4);
Tailwind
colors: {
  custom: {
    50: '#889ad0',
    500: '#4e72bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e72bc;
$custom-light: #889ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72bc",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 220.364,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.1224,
    "h": 263.4
  },
  "luminance": 0.17285
}

Semantic roles & 50–950 ramp

primary
#4E72BC
secondary
#CBBB9B
accent
#AA53D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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