#4E3AD4#4E3AD4

#4E3AD4 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.7% C 0.222 H 279.7°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4E3AD4
RGBrgb(78, 58, 212)
HSLhsl(248, 64%, 53%)
HSVhsv(248, 73%, 83%)
CMYKcmyk(63.2%, 72.6%, 0%, 16.9%)
CIE-LABlab(36.74, 51.79, -75.92)
CIE-LCHlch(36.74, 91.90, 304.30°)
OKLaboklab(47.72% 0.0375 -0.2191)
OKLCHoklch(47.72% 0.222 279.7)
XYZxyz(16.5348, 9.3980, 63.2172)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AD4 #C0D43A
analogous
#3A73D4 #4E3AD4 #9B3AD4
triadic
#4E3AD4 #D44E3A #3AD44E
tetradic
#4E3AD4 #D43A73 #C0D43A #3AD49B
square
#4E3AD4 #D43A73 #C0D43A #3AD49B
split-complementary
#4E3AD4 #D49B3A #73D43A
monochromatic
#271A79 #3725AB #4E3AD4 #7B6CDF #A89EEA

Accessibility & contrast

On white

7.29
#4E3AD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4E3AD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AD4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AD4#FFFFFF#000000##FFFFFF
##4E3AD41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD9
Deuteranopia (green-blind)
#0050D1
Tritanopia (blue-blind)
#006584
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e3ad4;
/* rgb */ color: rgb(78, 58, 212);
/* oklch */ color: oklch(47.7% 0.222 279.7);
Tailwind
colors: {
  custom: {
    50: '#9073e3',
    500: '#4e3ad4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ad4;
$custom-light: #9073e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ad4",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 247.792,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.22227,
    "h": 279.7
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#4E3AD4
secondary
#CED694
accent
#E741D2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4E3AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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