#4E48E5#4E48E5

#4E48E5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.228 H 276.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4E48E5
RGBrgb(78, 72, 229)
HSLhsl(242, 75%, 59%)
HSVhsv(242, 69%, 90%)
CMYKcmyk(65.9%, 68.6%, 0%, 10.2%)
CIE-LABlab(41.07, 49.38, -78.53)
CIE-LCHlch(41.07, 92.76, 302.17°)
OKLaboklab(51.28% 0.0254 -0.2268)
OKLCHoklch(51.28% 0.228 276.4)
XYZxyz(19.5975, 11.9099, 75.3796)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48E5 #DFE548
analogous
#4891E5 #4E48E5 #9D48E5
triadic
#4E48E5 #E54E48 #48E54E
tetradic
#4E48E5 #E54891 #DFE548 #48E59D
square
#4E48E5 #E54891 #DFE548 #48E59D
split-complementary
#4E48E5 #E59D48 #91E548
monochromatic
#1B169C #251ED2 #4E48E5 #827EED #B6B3F4

Accessibility & contrast

On white

6.21
#4E48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4E48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48E5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48E5#FFFFFF#000000##FFFFFF
##4E48E51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#005AE2
Tritanopia (blue-blind)
#007391
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e48e5;
/* rgb */ color: rgb(78, 72, 229);
/* oklch */ color: oklch(51.3% 0.228 276.4);
Tailwind
colors: {
  custom: {
    50: '#927cee',
    500: '#4e48e5',
    950: '#000000',
  },
}
SCSS
$custom: #4e48e5;
$custom-light: #927cee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48e5",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 242.293,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.22818,
    "h": 276.4
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#4E48E5
secondary
#E1E3A6
accent
#F236EB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4E48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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