#4E72E5#4E72E5

#4E72E5 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.179 H 267.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E72E5
RGBrgb(78, 114, 229)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 66%, 90%)
CMYKcmyk(65.9%, 50.2%, 0%, 10.2%)
CIE-LABlab(51.05, 23.92, -62.29)
CIE-LCHlch(51.05, 66.72, 291.01°)
OKLaboklab(58.67% -0.0077 -0.1787)
OKLCHoklch(58.67% 0.179 267.5)
XYZxyz(23.2972, 19.3093, 76.6129)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72E5 #E5C14E
analogous
#4EBEE5 #4E72E5 #754EE5
triadic
#4E72E5 #E54E72 #72E54E
tetradic
#4E72E5 #E54EBE #E5C14E #4EE575
square
#4E72E5 #E54EBE #E5C14E #4EE575
split-complementary
#4E72E5 #E5754E #BEE54E
monochromatic
#1838A1 #1F4BD6 #4E72E5 #839DED #B9C7F5

Accessibility & contrast

On white

4.32
#4E72E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4E72E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72E5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72E5#FFFFFF#000000##000000
##4E72E51.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81E9
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e72e5;
/* rgb */ color: rgb(78, 114, 229);
/* oklch */ color: oklch(58.7% 0.179 267.5);
Tailwind
colors: {
  custom: {
    50: '#8f9aee',
    500: '#4e72e5',
    950: '#000000',
  },
}
SCSS
$custom: #4e72e5;
$custom-light: #8f9aee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72e5",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 225.695,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.17888,
    "h": 267.5
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#4E72E5
secondary
#E4D7AA
accent
#A70FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E72E5

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

Preview Lab → · Contrast checker → · Palette generator →

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