#4E72DC#4E72DC

#4E72DC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.167 H 267.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E72DC
RGBrgb(78, 114, 220)
HSLhsl(225, 67%, 58%)
HSVhsv(225, 65%, 86%)
CMYKcmyk(64.5%, 48.2%, 0%, 13.7%)
CIE-LABlab(50.48, 20.80, -58.14)
CIE-LCHlch(50.48, 61.75, 289.69°)
OKLaboklab(58.05% -0.0087 -0.1665)
OKLCHoklch(58.05% 0.167 267)
XYZxyz(22.0730, 18.8196, 70.1656)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72DC #DCB84E
analogous
#4EB9DC #4E72DC #714EDC
triadic
#4E72DC #DC4E72 #72DC4E
tetradic
#4E72DC #DC4EB9 #DCB84E #4EDC71
square
#4E72DC #DC4EB9 #DCB84E #4EDC71
split-complementary
#4E72DC #DC714E #B9DC4E
monochromatic
#1D3B93 #274FC6 #4E72DC #819BE6 #B4C3F0

Accessibility & contrast

On white

4.41
#4E72DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4E72DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72DC#FFFFFF#000000##000000
##4E72DC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE0
Deuteranopia (green-blind)
#1972DA
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e72dc;
/* rgb */ color: rgb(78, 114, 220);
/* oklch */ color: oklch(58.1% 0.167 267.0);
Tailwind
colors: {
  custom: {
    50: '#8d9ae7',
    500: '#4e72dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e72dc;
$custom-light: #8d9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72dc",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 224.789,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.16674,
    "h": 267
  },
  "luminance": 0.18822
}

Semantic roles & 50–950 ramp

primary
#4E72DC
secondary
#DFD1A7
accent
#BE3EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E72DC

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

Preview Lab → · Contrast checker → · Palette generator →

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