#4E48B2#4E48B2

#4E48B2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.163 H 280.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4E48B2
RGBrgb(78, 72, 178)
HSLhsl(243, 42%, 49%)
HSVhsv(243, 60%, 70%)
CMYKcmyk(56.2%, 59.6%, 0%, 30.2%)
CIE-LABlab(36.87, 32.94, -55.84)
CIE-LCHlch(36.87, 64.83, 300.54°)
OKLaboklab(46.93% 0.03 -0.1602)
OKLCHoklch(46.93% 0.163 280.6)
XYZxyz(13.4926, 9.4679, 43.2274)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48B2 #ACB248
analogous
#4877B2 #4E48B2 #8348B2
triadic
#4E48B2 #B24E48 #48B24E
tetradic
#4E48B2 #B24877 #ACB248 #48B283
square
#4E48B2 #B24877 #ACB248 #48B283
split-complementary
#4E48B2 #B28348 #77B248
monochromatic
#28255B #3B3686 #4E48B2 #7671C6 #A09DD7

Accessibility & contrast

On white

7.26
#4E48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E48B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48B2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48B2#FFFFFF#000000##FFFFFF
##4E48B21.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#1B6176
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e48b2;
/* rgb */ color: rgb(78, 72, 178);
/* oklch */ color: oklch(46.9% 0.163 280.6);
Tailwind
colors: {
  custom: {
    50: '#897bca',
    500: '#4e48b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e48b2;
$custom-light: #897bca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48b2",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 243.396,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46926,
    "c": 0.16298,
    "h": 280.6
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#4E48B2
secondary
#C1C492
accent
#D256CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4E48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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