#4E48D7#4E48D7

#4E48D7 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.0% C 0.211 H 277.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4E48D7
RGBrgb(78, 72, 215)
HSLhsl(243, 64%, 56%)
HSVhsv(243, 67%, 84%)
CMYKcmyk(63.7%, 66.5%, 0%, 15.7%)
CIE-LABlab(39.85, 44.92, -72.54)
CIE-LCHlch(39.85, 85.32, 301.77°)
OKLaboklab(50.03% 0.0272 -0.2092)
OKLCHoklch(50.03% 0.211 277.4)
XYZxyz(17.7210, 11.1593, 65.4969)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48D7 #D1D748
analogous
#488AD7 #4E48D7 #9648D7
triadic
#4E48D7 #D74E48 #48D74E
tetradic
#4E48D7 #D7488A #D1D748 #48D796
square
#4E48D7 #D7488A #D1D748 #48D796
split-complementary
#4E48D7 #D79648 #8AD748
monochromatic
#221E87 #2F29B9 #4E48D7 #7F7AE2 #AFACED

Accessibility & contrast

On white

6.50
#4E48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4E48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48D7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48D7#FFFFFF#000000##FFFFFF
##4E48D71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DB
Deuteranopia (green-blind)
#0058D4
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e48d7;
/* rgb */ color: rgb(78, 72, 215);
/* oklch */ color: oklch(50.0% 0.211 277.4);
Tailwind
colors: {
  custom: {
    50: '#8f7ce4',
    500: '#4e48d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e48d7;
$custom-light: #8f7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48d7",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 242.517,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.211,
    "h": 277.4
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#4E48D7
secondary
#D8DBA0
accent
#E741E0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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