#4E48B7#4E48B7

#4E48B7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.3% C 0.170 H 280.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4E48B7
RGBrgb(78, 72, 183)
HSLhsl(243, 44%, 50%)
HSVhsv(243, 61%, 72%)
CMYKcmyk(57.4%, 60.7%, 0%, 28.2%)
CIE-LABlab(37.25, 34.57, -58.18)
CIE-LCHlch(37.25, 67.67, 300.72°)
OKLaboklab(47.32% 0.0298 -0.1671)
OKLCHoklch(47.32% 0.17 280.1)
XYZxyz(14.0038, 9.6724, 45.9196)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48B7 #B1B748
analogous
#487AB7 #4E48B7 #8548B7
triadic
#4E48B7 #B74E48 #48B74E
tetradic
#4E48B7 #B7487A #B1B748 #48B785
square
#4E48B7 #B7487A #B1B748 #48B785
split-complementary
#4E48B7 #B78548 #7AB748
monochromatic
#29255F #3B378B #4E48B7 #7874C8 #A3A0DA

Accessibility & contrast

On white

7.16
#4E48B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E48B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48B7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48B7#FFFFFF#000000##FFFFFF
##4E48B71.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#126378
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e48b7;
/* rgb */ color: rgb(78, 72, 183);
/* oklch */ color: oklch(47.3% 0.170 280.1);
Tailwind
colors: {
  custom: {
    50: '#897bcd',
    500: '#4e48b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e48b7;
$custom-light: #897bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48b7",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 243.243,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.16971,
    "h": 280.1
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#4E48B7
secondary
#C4C695
accent
#D355CC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E48B7

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

Preview Lab → · Contrast checker → · Palette generator →

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