#4E48B1#4E48B1

#4E48B1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.8% C 0.162 H 280.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4E48B1
RGBrgb(78, 72, 177)
HSLhsl(243, 42%, 49%)
HSVhsv(243, 59%, 69%)
CMYKcmyk(55.9%, 59.3%, 0%, 30.6%)
CIE-LABlab(36.80, 32.62, -55.37)
CIE-LCHlch(36.80, 64.26, 300.50°)
OKLaboklab(46.85% 0.03 -0.1588)
OKLCHoklch(46.85% 0.162 280.7)
XYZxyz(13.3926, 9.4279, 42.7005)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48B1 #ABB148
analogous
#4877B1 #4E48B1 #8348B1
triadic
#4E48B1 #B14E48 #48B14E
tetradic
#4E48B1 #B14877 #ABB148 #48B183
square
#4E48B1 #B14877 #ABB148 #48B183
split-complementary
#4E48B1 #B18348 #77B148
monochromatic
#28255A #3B3685 #4E48B1 #7671C5 #A09CD7

Accessibility & contrast

On white

7.28
#4E48B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E48B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48B1
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48B1#FFFFFF#000000##FFFFFF
##4E48B11.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#1D6175
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e48b1;
/* rgb */ color: rgb(78, 72, 177);
/* oklch */ color: oklch(46.8% 0.162 280.7);
Tailwind
colors: {
  custom: {
    50: '#887bc9',
    500: '#4e48b1',
    950: '#000000',
  },
}
SCSS
$custom: #4e48b1;
$custom-light: #887bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48b1",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 243.429,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46847,
    "c": 0.16162,
    "h": 280.7
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#4E48B1
secondary
#C1C391
accent
#D256CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E48B1

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

Preview Lab → · Contrast checker → · Palette generator →

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