#4E48C6#4E48C6

#4E48C6 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.189 H 278.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4E48C6
RGBrgb(78, 72, 198)
HSLhsl(243, 53%, 53%)
HSVhsv(243, 64%, 78%)
CMYKcmyk(60.6%, 63.6%, 0%, 22.4%)
CIE-LABlab(38.43, 39.43, -65.04)
CIE-LCHlch(38.43, 76.06, 301.23°)
OKLaboklab(48.56% 0.0289 -0.1872)
OKLCHoklch(48.56% 0.189 278.8)
XYZxyz(15.6490, 10.3305, 54.5845)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48C6 #C0C648
analogous
#4881C6 #4E48C6 #8D48C6
triadic
#4E48C6 #C64E48 #48C64E
tetradic
#4E48C6 #C64881 #C0C648 #48C68D
square
#4E48C6 #C64881 #C0C648 #48C68D
split-complementary
#4E48C6 #C68D48 #81C648
monochromatic
#272371 #37329F #4E48C6 #7B77D5 #A8A5E3

Accessibility & contrast

On white

6.85
#4E48C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4E48C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48C6
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48C6#FFFFFF#000000##FFFFFF
##4E48C61.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e48c6;
/* rgb */ color: rgb(78, 72, 198);
/* oklch */ color: oklch(48.6% 0.189 278.8);
Tailwind
colors: {
  custom: {
    50: '#8c7bd8',
    500: '#4e48c6',
    950: '#000000',
  },
}
SCSS
$custom: #4e48c6;
$custom-light: #8c7bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48c6",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 198
  },
  "hsl": {
    "h": 242.857,
    "s": 52.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48557,
    "c": 0.18944,
    "h": 278.8
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#4E48C6
secondary
#CED09A
accent
#DC4CD5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E48C6

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

Preview Lab → · Contrast checker → · Palette generator →

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