#4E48AB#4E48AB

#4E48AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.4% C 0.153 H 281.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#4E48AB
RGBrgb(78, 72, 171)
HSLhsl(244, 41%, 48%)
HSVhsv(244, 58%, 67%)
CMYKcmyk(54.4%, 57.9%, 0%, 32.9%)
CIE-LABlab(36.35, 30.67, -52.52)
CIE-LCHlch(36.35, 60.82, 300.29°)
OKLaboklab(46.38% 0.0301 -0.1504)
OKLCHoklch(46.38% 0.153 281.3)
XYZxyz(12.8077, 9.1939, 39.6199)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48AB #A5AB48
analogous
#4874AB #4E48AB #7F48AB
triadic
#4E48AB #AB4E48 #48AB4E
tetradic
#4E48AB #AB4874 #A5AB48 #48AB7F
square
#4E48AB #AB4874 #A5AB48 #48AB7F
split-complementary
#4E48AB #AB7F48 #74AB48
monochromatic
#272455 #3A3680 #4E48AB #736EC2 #9D99D4

Accessibility & contrast

On white

7.40
#4E48AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E48AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48AB
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48AB#FFFFFF#000000##FFFFFF
##4E48AB1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#245F72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e48ab;
/* rgb */ color: rgb(78, 72, 171);
/* oklch */ color: oklch(46.4% 0.153 281.3);
Tailwind
colors: {
  custom: {
    50: '#877bc5',
    500: '#4e48ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e48ab;
$custom-light: #877bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48ab",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 243.636,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.15341,
    "h": 281.3
  },
  "luminance": 0.09195
}

Semantic roles & 50–950 ramp

primary
#4E48AB
secondary
#BDC08E
accent
#D157C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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