#4E72E1#4E72E1

#4E72E1 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.174 H 267.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E72E1
RGBrgb(78, 114, 225)
HSLhsl(225, 71%, 59%)
HSVhsv(225, 65%, 88%)
CMYKcmyk(65.3%, 49.3%, 0%, 11.8%)
CIE-LABlab(50.79, 22.53, -60.45)
CIE-LCHlch(50.79, 64.51, 290.44°)
OKLaboklab(58.39% -0.0081 -0.1733)
OKLCHoklch(58.39% 0.174 267.3)
XYZxyz(22.7451, 19.0884, 73.7053)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72E1 #E1BD4E
analogous
#4EBCE1 #4E72E1 #744EE1
triadic
#4E72E1 #E14E72 #72E14E
tetradic
#4E72E1 #E14EBC #E1BD4E #4EE174
square
#4E72E1 #E14EBC #E1BD4E #4EE174
split-complementary
#4E72E1 #E1744E #BCE14E
monochromatic
#1A3A9A #234DCF #4E72E1 #829CEA #B7C5F3

Accessibility & contrast

On white

4.36
#4E72E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4E72E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72E1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72E1#FFFFFF#000000##000000
##4E72E11.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E5
Deuteranopia (green-blind)
#0473DF
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e72e1;
/* rgb */ color: rgb(78, 114, 225);
/* oklch */ color: oklch(58.4% 0.174 267.3);
Tailwind
colors: {
  custom: {
    50: '#8e9aeb',
    500: '#4e72e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e72e1;
$custom-light: #8e9aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72e1",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 225
  },
  "hsl": {
    "h": 225.306,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.17351,
    "h": 267.3
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#4E72E1
secondary
#E2D4A9
accent
#C23AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E72E1

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

Preview Lab → · Contrast checker → · Palette generator →

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