#4E72DF#4E72DF

#4E72DF is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.171 H 267.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4E72DF
RGBrgb(78, 114, 223)
HSLhsl(225, 69%, 59%)
HSVhsv(225, 65%, 87%)
CMYKcmyk(65%, 48.9%, 0%, 12.5%)
CIE-LABlab(50.66, 21.84, -59.53)
CIE-LCHlch(50.66, 63.41, 290.15°)
OKLaboklab(58.26% -0.0083 -0.1706)
OKLCHoklch(58.26% 0.171 267.2)
XYZxyz(22.4739, 18.9799, 72.2769)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72DF #DFBB4E
analogous
#4EBBDF #4E72DF #734EDF
triadic
#4E72DF #DF4E72 #72DF4E
tetradic
#4E72DF #DF4EBB #DFBB4E #4EDF73
square
#4E72DF #DF4EBB #DFBB4E #4EDF73
split-complementary
#4E72DF #DF734E #BBDF4E
monochromatic
#1B3A97 #254ECB #4E72DF #829BE8 #B6C5F2

Accessibility & contrast

On white

4.38
#4E72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4E72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72DF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72DF#FFFFFF#000000##000000
##4E72DF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3780E3
Deuteranopia (green-blind)
#0F72DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e72df;
/* rgb */ color: rgb(78, 114, 223);
/* oklch */ color: oklch(58.3% 0.171 267.2);
Tailwind
colors: {
  custom: {
    50: '#8e9aea',
    500: '#4e72df',
    950: '#000000',
  },
}
SCSS
$custom: #4e72df;
$custom-light: #8e9aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72df",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 225.103,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58256,
    "c": 0.1708,
    "h": 267.2
  },
  "luminance": 0.18982
}

Semantic roles & 50–950 ramp

primary
#4E72DF
secondary
#E1D3A8
accent
#C03CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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