#4E48A9#4E48A9

#4E48A9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.151 H 281.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#4E48A9
RGBrgb(78, 72, 169)
HSLhsl(244, 40%, 47%)
HSVhsv(244, 57%, 66%)
CMYKcmyk(53.8%, 57.4%, 0%, 33.7%)
CIE-LABlab(36.21, 30.02, -51.56)
CIE-LCHlch(36.21, 59.66, 300.21°)
OKLaboklab(46.23% 0.0301 -0.1476)
OKLCHoklch(46.23% 0.151 281.5)
XYZxyz(12.6185, 9.1183, 38.6235)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48A9 #A3A948
analogous
#4873A9 #4E48A9 #7E48A9
triadic
#4E48A9 #A94E48 #48A94E
tetradic
#4E48A9 #A94873 #A3A948 #48A97E
square
#4E48A9 #A94873 #A3A948 #48A97E
split-complementary
#4E48A9 #A97E48 #73A948
monochromatic
#262353 #3A367E #4E48A9 #726DC1 #9C98D3

Accessibility & contrast

On white

7.44
#4E48A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4E48A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48A9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48A9#FFFFFF#000000##FFFFFF
##4E48A91.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#265E71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e48a9;
/* rgb */ color: rgb(78, 72, 169);
/* oklch */ color: oklch(46.2% 0.151 281.5);
Tailwind
colors: {
  custom: {
    50: '#877bc3',
    500: '#4e48a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e48a9;
$custom-light: #877bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48a9",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 169
  },
  "hsl": {
    "h": 243.711,
    "s": 40.249,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4623,
    "c": 0.15065,
    "h": 281.5
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#4E48A9
secondary
#BCBF8D
accent
#D058C9
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E48A9

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

Preview Lab → · Contrast checker → · Palette generator →

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