#4E48AA#4E48AA

#4E48AA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.152 H 281.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#4E48AA
RGBrgb(78, 72, 170)
HSLhsl(244, 40%, 47%)
HSVhsv(244, 58%, 67%)
CMYKcmyk(54.1%, 57.6%, 0%, 33.3%)
CIE-LABlab(36.28, 30.35, -52.04)
CIE-LCHlch(36.28, 60.24, 300.25°)
OKLaboklab(46.31% 0.0301 -0.149)
OKLCHoklch(46.31% 0.152 281.4)
XYZxyz(12.7127, 9.1560, 39.1198)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48AA #A4AA48
analogous
#4873AA #4E48AA #7F48AA
triadic
#4E48AA #AA4E48 #48AA4E
tetradic
#4E48AA #AA4873 #A4AA48 #48AA7F
square
#4E48AA #AA4873 #A4AA48 #48AA7F
split-complementary
#4E48AA #AA7F48 #73AA48
monochromatic
#272454 #3A367F #4E48AA #736EC1 #9C99D4

Accessibility & contrast

On white

7.42
#4E48AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4E48AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48AA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48AA#FFFFFF#000000##FFFFFF
##4E48AA1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#255F72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e48aa;
/* rgb */ color: rgb(78, 72, 170);
/* oklch */ color: oklch(46.3% 0.152 281.4);
Tailwind
colors: {
  custom: {
    50: '#877bc4',
    500: '#4e48aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e48aa;
$custom-light: #877bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48aa",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 243.673,
    "s": 40.496,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.15203,
    "h": 281.4
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E48AA

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

Preview Lab → · Contrast checker → · Palette generator →

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