#4E48C4#4E48C4

#4E48C4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.187 H 279.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4E48C4
RGBrgb(78, 72, 196)
HSLhsl(243, 51%, 53%)
HSVhsv(243, 63%, 77%)
CMYKcmyk(60.2%, 63.3%, 0%, 23.1%)
CIE-LABlab(38.27, 38.79, -64.13)
CIE-LCHlch(38.27, 74.95, 301.16°)
OKLaboklab(48.39% 0.0291 -0.1846)
OKLCHoklch(48.39% 0.187 279)
XYZxyz(15.4199, 10.2388, 53.3776)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48C4 #BEC448
analogous
#4880C4 #4E48C4 #8C48C4
triadic
#4E48C4 #C44E48 #48C44E
tetradic
#4E48C4 #C44880 #BEC448 #48C48C
square
#4E48C4 #C44880 #BEC448 #48C48C
split-complementary
#4E48C4 #C48C48 #80C448
monochromatic
#27236E #38329C #4E48C4 #7B76D3 #A8A5E2

Accessibility & contrast

On white

6.89
#4E48C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4E48C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48C4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48C4#FFFFFF#000000##FFFFFF
##4E48C41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e48c4;
/* rgb */ color: rgb(78, 72, 196);
/* oklch */ color: oklch(48.4% 0.187 279.0);
Tailwind
colors: {
  custom: {
    50: '#8c7bd7',
    500: '#4e48c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e48c4;
$custom-light: #8c7bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48c4",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 242.903,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.18686,
    "h": 279
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#4E48C4
secondary
#CCCF99
accent
#DB4DD4
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E48C4

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

Preview Lab → · Contrast checker → · Palette generator →

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