#4E48C9#4E48C9

#4E48C9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.8% C 0.193 H 278.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4E48C9
RGBrgb(78, 72, 201)
HSLhsl(243, 54%, 54%)
HSVhsv(243, 64%, 79%)
CMYKcmyk(61.2%, 64.2%, 0%, 21.2%)
CIE-LABlab(38.67, 40.41, -66.38)
CIE-LCHlch(38.67, 77.71, 301.33°)
OKLaboklab(48.81% 0.0287 -0.1912)
OKLCHoklch(48.81% 0.193 278.5)
XYZxyz(15.9985, 10.4703, 56.4249)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48C9 #C3C948
analogous
#4882C9 #4E48C9 #8E48C9
triadic
#4E48C9 #C94E48 #48C94E
tetradic
#4E48C9 #C94882 #C3C948 #48C98E
square
#4E48C9 #C94882 #C3C948 #48C98E
split-complementary
#4E48C9 #C98E48 #82C948
monochromatic
#262274 #3630A4 #4E48C9 #7C77D7 #A9A7E5

Accessibility & contrast

On white

6.79
#4E48C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4E48C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48C9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48C9#FFFFFF#000000##FFFFFF
##4E48C91.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e48c9;
/* rgb */ color: rgb(78, 72, 201);
/* oklch */ color: oklch(48.8% 0.193 278.5);
Tailwind
colors: {
  custom: {
    50: '#8c7cda',
    500: '#4e48c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e48c9;
$custom-light: #8c7cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48c9",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 242.791,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.19331,
    "h": 278.5
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#4E48C9
secondary
#CFD29B
accent
#DE4AD7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E48C9

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

Preview Lab → · Contrast checker → · Palette generator →

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