#4E72DA#4E72DA

#4E72DA is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.9% C 0.164 H 266.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4E72DA
RGBrgb(78, 114, 218)
HSLhsl(225, 65%, 58%)
HSVhsv(225, 64%, 85%)
CMYKcmyk(64.2%, 47.7%, 0%, 14.5%)
CIE-LABlab(50.35, 20.11, -57.21)
CIE-LCHlch(50.35, 60.64, 289.37°)
OKLaboklab(57.92% -0.0089 -0.1638)
OKLCHoklch(57.92% 0.164 266.9)
XYZxyz(21.8097, 18.7143, 68.7789)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72DA #DAB64E
analogous
#4EB8DA #4E72DA #704EDA
triadic
#4E72DA #DA4E72 #72DA4E
tetradic
#4E72DA #DA4EB8 #DAB64E #4EDA70
square
#4E72DA #DA4EB8 #DAB64E #4EDA70
split-complementary
#4E72DA #DA704E #B8DA4E
monochromatic
#1E3B90 #2950C2 #4E72DA #819AE5 #B3C3EF

Accessibility & contrast

On white

4.43
#4E72DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4E72DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72DA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72DA#FFFFFF#000000##000000
##4E72DA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDE
Deuteranopia (green-blind)
#1E72D8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e72da;
/* rgb */ color: rgb(78, 114, 218);
/* oklch */ color: oklch(57.9% 0.164 266.9);
Tailwind
colors: {
  custom: {
    50: '#8d9ae6',
    500: '#4e72da',
    950: '#000000',
  },
}
SCSS
$custom: #4e72da;
$custom-light: #8d9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72da",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 224.571,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57918,
    "c": 0.16401,
    "h": 266.9
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#4E72DA
secondary
#DECFA6
accent
#BD3FE8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E72DA

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

Preview Lab → · Contrast checker → · Palette generator →

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