#4E72E4#4E72E4

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

Color values

HEX#4E72E4
RGBrgb(78, 114, 228)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(65.8%, 50%, 0%, 10.6%)
CIE-LABlab(50.98, 23.57, -61.83)
CIE-LCHlch(50.98, 66.17, 290.87°)
OKLaboklab(58.6% -0.0078 -0.1774)
OKLCHoklch(58.6% 0.178 267.5)
XYZxyz(23.1580, 19.2536, 75.8796)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72E4 #E4C04E
analogous
#4EBDE4 #4E72E4 #754EE4
triadic
#4E72E4 #E44E72 #72E44E
tetradic
#4E72E4 #E44EBD #E4C04E #4EE475
square
#4E72E4 #E44EBD #E4C04E #4EE475
split-complementary
#4E72E4 #E4754E #BDE44E
monochromatic
#18399F #204CD4 #4E72E4 #839CEC #B8C7F4

Accessibility & contrast

On white

4.33
#4E72E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4E72E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72E4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72E4#FFFFFF#000000##000000
##4E72E41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3081E8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e72e4;
/* rgb */ color: rgb(78, 114, 228);
/* oklch */ color: oklch(58.6% 0.178 267.5);
Tailwind
colors: {
  custom: {
    50: '#8f9aed',
    500: '#4e72e4',
    950: '#000000',
  },
}
SCSS
$custom: #4e72e4;
$custom-light: #8f9aed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72e4",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 225.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.586,
    "c": 0.17754,
    "h": 267.5
  },
  "luminance": 0.19256
}

Semantic roles & 50–950 ramp

primary
#4E72E4
secondary
#E4D6AA
accent
#C438F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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