#4E48D5#4E48D5

#4E48D5 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 49.9% C 0.208 H 277.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E48D5
RGBrgb(78, 72, 213)
HSLhsl(243, 63%, 56%)
HSVhsv(243, 66%, 84%)
CMYKcmyk(63.4%, 66.2%, 0%, 16.5%)
CIE-LABlab(39.68, 44.28, -71.67)
CIE-LCHlch(39.68, 84.25, 301.71°)
OKLaboklab(49.85% 0.0274 -0.2067)
OKLCHoklch(49.85% 0.209 277.6)
XYZxyz(17.4656, 11.0571, 64.1517)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48D5 #CFD548
analogous
#4888D5 #4E48D5 #9448D5
triadic
#4E48D5 #D54E48 #48D54E
tetradic
#4E48D5 #D54888 #CFD548 #48D594
square
#4E48D5 #D54888 #CFD548 #48D594
split-complementary
#4E48D5 #D59448 #88D548
monochromatic
#231E84 #302AB6 #4E48D5 #7E7AE0 #AEACEC

Accessibility & contrast

On white

6.54
#4E48D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E48D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48D5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48D5#FFFFFF#000000##FFFFFF
##4E48D51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0058D2
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e48d5;
/* rgb */ color: rgb(78, 72, 213);
/* oklch */ color: oklch(49.9% 0.208 277.6);
Tailwind
colors: {
  custom: {
    50: '#8f7ce3',
    500: '#4e48d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e48d5;
$custom-light: #8f7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48d5",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 242.553,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.4985,
    "c": 0.2085,
    "h": 277.6
  },
  "luminance": 0.11059
}

Semantic roles & 50–950 ramp

primary
#4E48D5
secondary
#D7DA9F
accent
#E642DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E48D5

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

Preview Lab → · Contrast checker → · Palette generator →

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