#4E48D4#4E48D4

#4E48D4 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.207 H 277.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4E48D4
RGBrgb(78, 72, 212)
HSLhsl(243, 62%, 56%)
HSVhsv(243, 66%, 83%)
CMYKcmyk(63.2%, 66%, 0%, 16.9%)
CIE-LABlab(39.59, 43.96, -71.24)
CIE-LCHlch(39.59, 83.71, 301.68°)
OKLaboklab(49.76% 0.0276 -0.2054)
OKLCHoklch(49.76% 0.207 277.6)
XYZxyz(17.3391, 11.0065, 63.4853)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48D4 #CED448
analogous
#4888D4 #4E48D4 #9448D4
triadic
#4E48D4 #D44E48 #48D44E
tetradic
#4E48D4 #D44888 #CED448 #48D494
square
#4E48D4 #D44888 #CED448 #48D494
split-complementary
#4E48D4 #D49448 #88D448
monochromatic
#231F83 #302AB4 #4E48D4 #7E7AE0 #AEABEB

Accessibility & contrast

On white

6.56
#4E48D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E48D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48D4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48D4#FFFFFF#000000##FFFFFF
##4E48D41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e48d4;
/* rgb */ color: rgb(78, 72, 212);
/* oklch */ color: oklch(49.8% 0.207 277.6);
Tailwind
colors: {
  custom: {
    50: '#8e7ce2',
    500: '#4e48d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e48d4;
$custom-light: #8e7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48d4",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 242.571,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.20725,
    "h": 277.6
  },
  "luminance": 0.11008
}

Semantic roles & 50–950 ramp

primary
#4E48D4
secondary
#D7D99F
accent
#E543DE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E48D4

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

Preview Lab → · Contrast checker → · Palette generator →

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