#4E3AC5#4E3AC5

#4E3AC5 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.3% C 0.204 H 281.4°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E3AC5
RGBrgb(78, 58, 197)
HSLhsl(249, 55%, 50%)
HSVhsv(249, 71%, 77%)
CMYKcmyk(60.4%, 70.6%, 0%, 22.7%)
CIE-LABlab(35.35, 47.22, -69.49)
CIE-LCHlch(35.35, 84.01, 304.20°)
OKLaboklab(46.31% 0.0404 -0.2003)
OKLCHoklch(46.31% 0.204 281.4)
XYZxyz(14.7298, 8.6760, 53.7109)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AC5 #B1C53A
analogous
#3A6CC5 #4E3AC5 #933AC5
triadic
#4E3AC5 #C54E3A #3AC54E
tetradic
#4E3AC5 #C53A6C #B1C53A #3AC593
square
#4E3AC5 #C53A6C #B1C53A #3AC593
split-complementary
#4E3AC5 #C5933A #6CC53A
monochromatic
#291E66 #3B2C96 #4E3AC5 #7869D3 #A399E1

Accessibility & contrast

On white

7.68
#4E3AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E3AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AC5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AC5#FFFFFF#000000##FFFFFF
##4E3AC51.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e3ac5;
/* rgb */ color: rgb(78, 58, 197);
/* oklch */ color: oklch(46.3% 0.204 281.4);
Tailwind
colors: {
  custom: {
    50: '#8d72d8',
    500: '#4e3ac5',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ac5;
$custom-light: #8d72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ac5",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 248.633,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.46311,
    "c": 0.20431,
    "h": 281.4
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#4E3AC5
secondary
#C4CD8E
accent
#DE4AC9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4E3AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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