#4E48A7#4E48A7

#4E48A7 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.148 H 281.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#4E48A7
RGBrgb(78, 72, 167)
HSLhsl(244, 40%, 47%)
HSVhsv(244, 57%, 65%)
CMYKcmyk(53.3%, 56.9%, 0%, 34.5%)
CIE-LABlab(36.07, 29.38, -50.60)
CIE-LCHlch(36.07, 58.51, 300.14°)
OKLaboklab(46.08% 0.0301 -0.1448)
OKLCHoklch(46.08% 0.148 281.7)
XYZxyz(12.4322, 9.0437, 37.6422)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48A7 #A1A748
analogous
#4872A7 #4E48A7 #7D48A7
triadic
#4E48A7 #A74E48 #48A74E
tetradic
#4E48A7 #A74872 #A1A748 #48A77D
square
#4E48A7 #A74872 #A1A748 #48A77D
split-complementary
#4E48A7 #A77D48 #72A748
monochromatic
#262351 #3A367C #4E48A7 #726CC0 #9B97D2

Accessibility & contrast

On white

7.48
#4E48A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4E48A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48A7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48A7#FFFFFF#000000##FFFFFF
##4E48A71.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258AA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#285E70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4e48a7;
/* rgb */ color: rgb(78, 72, 167);
/* oklch */ color: oklch(46.1% 0.148 281.7);
Tailwind
colors: {
  custom: {
    50: '#877bc2',
    500: '#4e48a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e48a7;
$custom-light: #877bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48a7",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 243.789,
    "s": 39.749,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46079,
    "c": 0.14786,
    "h": 281.7
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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