#4E3AC6#4E3AC6

#4E3AC6 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.206 H 281.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4E3AC6
RGBrgb(78, 58, 198)
HSLhsl(249, 55%, 50%)
HSVhsv(249, 71%, 78%)
CMYKcmyk(60.6%, 70.7%, 0%, 22.4%)
CIE-LABlab(35.44, 47.53, -69.92)
CIE-LCHlch(35.44, 84.55, 304.20°)
OKLaboklab(46.4% 0.0402 -0.2016)
OKLCHoklch(46.4% 0.206 281.3)
XYZxyz(14.8448, 8.7220, 54.3164)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AC6 #B2C63A
analogous
#3A6CC6 #4E3AC6 #943AC6
triadic
#4E3AC6 #C64E3A #3AC64E
tetradic
#4E3AC6 #C63A6C #B2C63A #3AC694
square
#4E3AC6 #C63A6C #B2C63A #3AC694
split-complementary
#4E3AC6 #C6943A #6CC63A
monochromatic
#291E68 #3B2C97 #4E3AC6 #7969D4 #A399E1

Accessibility & contrast

On white

7.65
#4E3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3AC6
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AC6#FFFFFF#000000##FFFFFF
##4E3AC61.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e3ac6;
/* rgb */ color: rgb(78, 58, 198);
/* oklch */ color: oklch(46.4% 0.206 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d72d8',
    500: '#4e3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ac6;
$custom-light: #8d72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ac6",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 248.571,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.20553,
    "h": 281.3
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#4E3AC6
secondary
#C4CD8F
accent
#DE49C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4E3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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