#4E48C5#4E48C5

#4E48C5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.188 H 278.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4E48C5
RGBrgb(78, 72, 197)
HSLhsl(243, 52%, 53%)
HSVhsv(243, 63%, 77%)
CMYKcmyk(60.4%, 63.5%, 0%, 22.7%)
CIE-LABlab(38.35, 39.11, -64.59)
CIE-LCHlch(38.35, 75.50, 301.20°)
OKLaboklab(48.47% 0.029 -0.1859)
OKLCHoklch(48.47% 0.188 278.9)
XYZxyz(15.5341, 10.2845, 53.9790)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48C5 #BFC548
analogous
#4880C5 #4E48C5 #8C48C5
triadic
#4E48C5 #C54E48 #48C54E
tetradic
#4E48C5 #C54880 #BFC548 #48C58C
square
#4E48C5 #C54880 #BFC548 #48C58C
split-complementary
#4E48C5 #C58C48 #80C548
monochromatic
#27236F #37329E #4E48C5 #7B76D4 #A8A5E2

Accessibility & contrast

On white

6.87
#4E48C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E48C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48C5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48C5#FFFFFF#000000##FFFFFF
##4E48C51.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e48c5;
/* rgb */ color: rgb(78, 72, 197);
/* oklch */ color: oklch(48.5% 0.188 278.9);
Tailwind
colors: {
  custom: {
    50: '#8c7bd8',
    500: '#4e48c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e48c5;
$custom-light: #8c7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48c5",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 197
  },
  "hsl": {
    "h": 242.88,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.18815,
    "h": 278.9
  },
  "luminance": 0.10286
}

Semantic roles & 50–950 ramp

primary
#4E48C5
secondary
#CDCF99
accent
#DB4CD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E48C5

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

Preview Lab → · Contrast checker → · Palette generator →

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