#4E72E2#4E72E2

#4E72E2 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.175 H 267.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E72E2
RGBrgb(78, 114, 226)
HSLhsl(225, 72%, 60%)
HSVhsv(225, 65%, 89%)
CMYKcmyk(65.5%, 49.6%, 0%, 11.4%)
CIE-LABlab(50.85, 22.88, -60.91)
CIE-LCHlch(50.85, 65.07, 290.59°)
OKLaboklab(58.46% -0.008 -0.1747)
OKLCHoklch(58.46% 0.175 267.4)
XYZxyz(22.8819, 19.1432, 74.4259)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72E2 #E2BE4E
analogous
#4EBCE2 #4E72E2 #744EE2
triadic
#4E72E2 #E24E72 #72E24E
tetradic
#4E72E2 #E24EBC #E2BE4E #4EE274
square
#4E72E2 #E24EBC #E2BE4E #4EE274
split-complementary
#4E72E2 #E2744E #BCE24E
monochromatic
#1A399C #224DD1 #4E72E2 #839CEB #B7C6F3

Accessibility & contrast

On white

4.35
#4E72E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4E72E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72E2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72E2#FFFFFF#000000##000000
##4E72E21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E6
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e72e2;
/* rgb */ color: rgb(78, 114, 226);
/* oklch */ color: oklch(58.5% 0.175 267.4);
Tailwind
colors: {
  custom: {
    50: '#8e9aec',
    500: '#4e72e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e72e2;
$custom-light: #8e9aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72e2",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 225.405,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58462,
    "c": 0.17485,
    "h": 267.4
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#4E72E2
secondary
#E3D5A9
accent
#C239EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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