#4E48B5#4E48B5

#4E48B5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.167 H 280.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4E48B5
RGBrgb(78, 72, 181)
HSLhsl(243, 43%, 50%)
HSVhsv(243, 60%, 71%)
CMYKcmyk(56.9%, 60.2%, 0%, 29%)
CIE-LABlab(37.10, 33.92, -57.24)
CIE-LCHlch(37.10, 66.54, 300.65°)
OKLaboklab(47.16% 0.0299 -0.1643)
OKLCHoklch(47.16% 0.167 280.3)
XYZxyz(13.7971, 9.5897, 44.8311)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48B5 #AFB548
analogous
#4878B5 #4E48B5 #8548B5
triadic
#4E48B5 #B54E48 #48B54E
tetradic
#4E48B5 #B54878 #AFB548 #48B585
square
#4E48B5 #B54878 #AFB548 #48B585
split-complementary
#4E48B5 #B58548 #78B548
monochromatic
#28255D #3B3789 #4E48B5 #7873C7 #A29FD9

Accessibility & contrast

On white

7.20
#4E48B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4E48B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48B5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48B5#FFFFFF#000000##FFFFFF
##4E48B51.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#166277
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e48b5;
/* rgb */ color: rgb(78, 72, 181);
/* oklch */ color: oklch(47.2% 0.167 280.3);
Tailwind
colors: {
  custom: {
    50: '#897bcc',
    500: '#4e48b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e48b5;
$custom-light: #897bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48b5",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 243.303,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.16703,
    "h": 280.3
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#4E48B5
secondary
#C3C593
accent
#D355CC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E48B5

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

Preview Lab → · Contrast checker → · Palette generator →

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