#4E48B6#4E48B6

#4E48B6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.2% C 0.168 H 280.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4E48B6
RGBrgb(78, 72, 182)
HSLhsl(243, 43%, 50%)
HSVhsv(243, 60%, 71%)
CMYKcmyk(57.1%, 60.4%, 0%, 28.6%)
CIE-LABlab(37.17, 34.24, -57.71)
CIE-LCHlch(37.17, 67.10, 300.68°)
OKLaboklab(47.24% 0.0299 -0.1657)
OKLCHoklch(47.24% 0.168 280.2)
XYZxyz(13.9001, 9.6309, 45.3734)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48B6 #B0B648
analogous
#4879B6 #4E48B6 #8548B6
triadic
#4E48B6 #B64E48 #48B64E
tetradic
#4E48B6 #B64879 #B0B648 #48B685
square
#4E48B6 #B64879 #B0B648 #48B685
split-complementary
#4E48B6 #B68548 #79B648
monochromatic
#28255E #3B378A #4E48B6 #7873C8 #A29FD9

Accessibility & contrast

On white

7.18
#4E48B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E48B6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48B6#FFFFFF#000000##FFFFFF
##4E48B61.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#146278
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e48b6;
/* rgb */ color: rgb(78, 72, 182);
/* oklch */ color: oklch(47.2% 0.168 280.2);
Tailwind
colors: {
  custom: {
    50: '#897bcd',
    500: '#4e48b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e48b6;
$custom-light: #897bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48b6",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 182
  },
  "hsl": {
    "h": 243.273,
    "s": 43.307,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47243,
    "c": 0.16837,
    "h": 280.2
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#4E48B6
secondary
#C3C694
accent
#D355CC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0913
muted
#7D7B82

Preview Lab

Preview with #4E48B6

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

Preview Lab → · Contrast checker → · Palette generator →

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