#4E3ACD#4E3ACD

#4E3ACD is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.1% C 0.214 H 280.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4E3ACD
RGBrgb(78, 58, 205)
HSLhsl(248, 60%, 52%)
HSVhsv(248, 72%, 80%)
CMYKcmyk(62%, 71.7%, 0%, 19.6%)
CIE-LABlab(36.09, 49.67, -72.94)
CIE-LCHlch(36.09, 88.25, 304.25°)
OKLaboklab(47.06% 0.0389 -0.2104)
OKLCHoklch(47.06% 0.214 280.5)
XYZxyz(15.6709, 9.0524, 58.6673)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3ACD #B9CD3A
analogous
#3A70CD #4E3ACD #983ACD
triadic
#4E3ACD #CD4E3A #3ACD4E
tetradic
#4E3ACD #CD3A70 #B9CD3A #3ACD98
square
#4E3ACD #CD3A70 #B9CD3A #3ACD98
split-complementary
#4E3ACD #CD983A #70CD3A
monochromatic
#281C70 #3929A1 #4E3ACD #7A6BD9 #A69CE6

Accessibility & contrast

On white

7.47
#4E3ACD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E3ACD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3ACD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3ACD#FFFFFF#000000##FFFFFF
##4E3ACD1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e3acd;
/* rgb */ color: rgb(78, 58, 205);
/* oklch */ color: oklch(47.1% 0.214 280.5);
Tailwind
colors: {
  custom: {
    50: '#8e73dd',
    500: '#4e3acd',
    950: '#000000',
  },
}
SCSS
$custom: #4e3acd;
$custom-light: #8e73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3acd",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 248.163,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47055,
    "c": 0.21395,
    "h": 280.5
  },
  "luminance": 0.09054
}

Semantic roles & 50–950 ramp

primary
#4E3ACD
secondary
#C9D291
accent
#E345CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4E3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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