#4E48A8#4E48A8

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

Color values

HEX#4E48A8
RGBrgb(78, 72, 168)
HSLhsl(244, 40%, 47%)
HSVhsv(244, 57%, 66%)
CMYKcmyk(53.6%, 57.1%, 0%, 34.1%)
CIE-LABlab(36.14, 29.70, -51.08)
CIE-LCHlch(36.14, 59.08, 300.18°)
OKLaboklab(46.16% 0.0301 -0.1462)
OKLCHoklch(46.16% 0.149 281.6)
XYZxyz(12.5250, 9.0809, 38.1310)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48A8 #A2A848
analogous
#4872A8 #4E48A8 #7E48A8
triadic
#4E48A8 #A84E48 #48A84E
tetradic
#4E48A8 #A84872 #A2A848 #48A87E
square
#4E48A8 #A84872 #A2A848 #48A87E
split-complementary
#4E48A8 #A87E48 #72A848
monochromatic
#262352 #3A367D #4E48A8 #726DC0 #9B98D3

Accessibility & contrast

On white

7.46
#4E48A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E48A8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48A8#FFFFFF#000000##FFFFFF
##4E48A81.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#275E71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e48a8;
/* rgb */ color: rgb(78, 72, 168);
/* oklch */ color: oklch(46.2% 0.149 281.6);
Tailwind
colors: {
  custom: {
    50: '#877bc2',
    500: '#4e48a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e48a8;
$custom-light: #877bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48a8",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 243.75,
    "s": 40,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.14925,
    "h": 281.6
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#4E48A8
secondary
#BCBF8D
accent
#D058C8
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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