#4E72DB#4E72DB

#4E72DB is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.0% C 0.165 H 266.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E72DB
RGBrgb(78, 114, 219)
HSLhsl(225, 66%, 58%)
HSVhsv(225, 64%, 86%)
CMYKcmyk(64.4%, 47.9%, 0%, 14.1%)
CIE-LABlab(50.41, 20.46, -57.67)
CIE-LCHlch(50.41, 61.19, 289.53°)
OKLaboklab(57.99% -0.0088 -0.1651)
OKLCHoklch(57.99% 0.165 266.9)
XYZxyz(21.9410, 18.7668, 69.4702)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E72DB #DBB74E
analogous
#4EB8DB #4E72DB #704EDB
triadic
#4E72DB #DB4E72 #72DB4E
tetradic
#4E72DB #DB4EB8 #DBB74E #4EDB70
square
#4E72DB #DB4EB8 #DBB74E #4EDB70
split-complementary
#4E72DB #DB704E #B8DB4E
monochromatic
#1E3B91 #2850C4 #4E72DB #819BE5 #B4C3F0

Accessibility & contrast

On white

4.42
#4E72DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4E72DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E72DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E72DB#FFFFFF#000000##000000
##4E72DB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e72db;
/* rgb */ color: rgb(78, 114, 219);
/* oklch */ color: oklch(58.0% 0.165 266.9);
Tailwind
colors: {
  custom: {
    50: '#8d9ae7',
    500: '#4e72db',
    950: '#000000',
  },
}
SCSS
$custom: #4e72db;
$custom-light: #8d9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e72db",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 224.681,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.16537,
    "h": 266.9
  },
  "luminance": 0.18769
}

Semantic roles & 50–950 ramp

primary
#4E72DB
secondary
#DED0A6
accent
#BE3FE9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E72DB

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

Preview Lab → · Contrast checker → · Palette generator →

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