#4E3AC4#4E3AC4

#4E3AC4 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.203 H 281.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4E3AC4
RGBrgb(78, 58, 196)
HSLhsl(249, 54%, 50%)
HSVhsv(249, 70%, 77%)
CMYKcmyk(60.2%, 70.4%, 0%, 23.1%)
CIE-LABlab(35.26, 46.91, -69.05)
CIE-LCHlch(35.26, 83.48, 304.19°)
OKLaboklab(46.22% 0.0406 -0.199)
OKLCHoklch(46.22% 0.203 281.5)
XYZxyz(14.6156, 8.6303, 53.1095)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3AC4 #B0C43A
analogous
#3A6BC4 #4E3AC4 #933AC4
triadic
#4E3AC4 #C44E3A #3AC44E
tetradic
#4E3AC4 #C43A6B #B0C43A #3AC493
square
#4E3AC4 #C43A6B #B0C43A #3AC493
split-complementary
#4E3AC4 #C4933A #6BC43A
monochromatic
#281E66 #3B2C95 #4E3AC4 #7869D3 #A298E0

Accessibility & contrast

On white

7.70
#4E3AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E3AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3AC4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3AC4#FFFFFF#000000##FFFFFF
##4E3AC41.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e3ac4;
/* rgb */ color: rgb(78, 58, 196);
/* oklch */ color: oklch(46.2% 0.203 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d72d7',
    500: '#4e3ac4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ac4;
$custom-light: #8d72d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ac4",
  "rgb": {
    "r": 78,
    "g": 58,
    "b": 196
  },
  "hsl": {
    "h": 248.696,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46219,
    "c": 0.20311,
    "h": 281.5
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#4E3AC4
secondary
#C3CC8E
accent
#DE4AC8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4E3AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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