#4E72D4#4E72D4

#4E72D4 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.5% C 0.156 H 266.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E72D4
RGBrgb(78, 114, 212)
HSLhsl(224, 61%, 57%)
HSVhsv(224, 63%, 83%)
CMYKcmyk(63.2%, 46.2%, 0%, 16.9%)
CIE-LABlab(49.98, 18.04, -54.39)
CIE-LCHlch(49.98, 57.31, 288.35°)
OKLaboklab(57.52% -0.0098 -0.1555)
OKLCHoklch(57.52% 0.156 266.4)
XYZxyz(21.0388, 18.4059, 64.7186)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72D4 #D4B04E
analogous
#4EB5D4 #4E72D4 #6D4ED4
triadic
#4E72D4 #D44E72 #72D44E
tetradic
#4E72D4 #D44EB5 #D4B04E #4ED46D
square
#4E72D4 #D44EB5 #D4B04E #4ED46D
split-complementary
#4E72D4 #D46D4E #B5D44E
monochromatic
#213C87 #2D52B8 #4E72D4 #7F99E0 #B0C0EC

Accessibility & contrast

On white

4.49
#4E72D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4E72D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72D4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72D4#FFFFFF#000000##000000
##4E72D41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD8
Deuteranopia (green-blind)
#2A71D2
Tritanopia (blue-blind)
#008899
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4e72d4;
/* rgb */ color: rgb(78, 114, 212);
/* oklch */ color: oklch(57.5% 0.156 266.4);
Tailwind
colors: {
  custom: {
    50: '#8c9ae2',
    500: '#4e72d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e72d4;
$custom-light: #8c9ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72d4",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 212
  },
  "hsl": {
    "h": 223.881,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5752,
    "c": 0.1558,
    "h": 266.4
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#4E72D4
secondary
#DACCA4
accent
#B944E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E72D4

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

Preview Lab → · Contrast checker → · Palette generator →

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