#4E72EF#4E72EF

#4E72EF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.192 H 268.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E72EF
RGBrgb(78, 114, 239)
HSLhsl(227, 83%, 62%)
HSVhsv(227, 67%, 94%)
CMYKcmyk(67.4%, 52.3%, 0%, 6.3%)
CIE-LABlab(51.71, 27.38, -66.83)
CIE-LCHlch(51.71, 72.22, 292.28°)
OKLaboklab(59.38% -0.0068 -0.1921)
OKLCHoklch(59.38% 0.192 268)
XYZxyz(24.7338, 19.8839, 84.1791)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72EF #EFCB4E
analogous
#4EC2EF #4E72EF #7B4EEF
triadic
#4E72EF #EF4E72 #72EF4E
tetradic
#4E72EF #EF4EC2 #EFCB4E #4EEF7B
square
#4E72EF #EF4EC2 #EFCB4E #4EEF7B
split-complementary
#4E72EF #EF7B4E #C2EF4E
monochromatic
#1034B2 #1645EA #4E72EF #869FF4 #BECBF9

Accessibility & contrast

On white

4.22
#4E72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72EF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72EF#FFFFFF#000000##000000
##4E72EF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e72ef;
/* rgb */ color: rgb(78, 114, 239);
/* oklch */ color: oklch(59.4% 0.192 268.0);
Tailwind
colors: {
  custom: {
    50: '#919af5',
    500: '#4e72ef',
    950: '#000000',
  },
}
SCSS
$custom: #4e72ef;
$custom-light: #919af5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72ef",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 226.584,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.19219,
    "h": 268
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#4E72EF
secondary
#EADDAF
accent
#AF06E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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