#4E48B8#4E48B8

#4E48B8 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.171 H 280.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4E48B8
RGBrgb(78, 72, 184)
HSLhsl(243, 44%, 50%)
HSVhsv(243, 61%, 72%)
CMYKcmyk(57.6%, 60.9%, 0%, 27.8%)
CIE-LABlab(37.32, 34.89, -58.64)
CIE-LCHlch(37.32, 68.24, 300.75°)
OKLaboklab(47.4% 0.0298 -0.1684)
OKLCHoklch(47.4% 0.171 280)
XYZxyz(14.1083, 9.7142, 46.4697)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48B8 #B2B848
analogous
#487AB8 #4E48B8 #8648B8
triadic
#4E48B8 #B84E48 #48B84E
tetradic
#4E48B8 #B8487A #B2B848 #48B886
square
#4E48B8 #B8487A #B2B848 #48B886
split-complementary
#4E48B8 #B88648 #7AB848
monochromatic
#292560 #3B368C #4E48B8 #7974C9 #A3A0DA

Accessibility & contrast

On white

7.14
#4E48B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4E48B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48B8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48B8#FFFFFF#000000##FFFFFF
##4E48B81.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#106379
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e48b8;
/* rgb */ color: rgb(78, 72, 184);
/* oklch */ color: oklch(47.4% 0.171 280.0);
Tailwind
colors: {
  custom: {
    50: '#8a7bce',
    500: '#4e48b8',
    950: '#000000',
  },
}
SCSS
$custom: #4e48b8;
$custom-light: #8a7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48b8",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 243.214,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47404,
    "c": 0.17106,
    "h": 280
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#4E48B8
secondary
#C4C795
accent
#D454CD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E48B8

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

Preview Lab → · Contrast checker → · Palette generator →

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