#4E48B9#4E48B9

#4E48B9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.5% C 0.172 H 279.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#4E48B9
RGBrgb(78, 72, 185)
HSLhsl(243, 45%, 50%)
HSVhsv(243, 61%, 73%)
CMYKcmyk(57.8%, 61.1%, 0%, 27.5%)
CIE-LABlab(37.40, 35.22, -59.10)
CIE-LCHlch(37.40, 68.80, 300.79°)
OKLaboklab(47.48% 0.0298 -0.1698)
OKLCHoklch(47.48% 0.172 279.9)
XYZxyz(14.2134, 9.7562, 47.0237)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48B9 #B3B948
analogous
#487AB9 #4E48B9 #8648B9
triadic
#4E48B9 #B94E48 #48B94E
tetradic
#4E48B9 #B9487A #B3B948 #48B986
square
#4E48B9 #B9487A #B3B948 #48B986
split-complementary
#4E48B9 #B98648 #7AB948
monochromatic
#282561 #3B368E #4E48B9 #7974CA #A4A1DB

Accessibility & contrast

On white

7.12
#4E48B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4E48B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E48B9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48B9#FFFFFF#000000##FFFFFF
##4E48B91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#0D6379
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e48b9;
/* rgb */ color: rgb(78, 72, 185);
/* oklch */ color: oklch(47.5% 0.172 279.9);
Tailwind
colors: {
  custom: {
    50: '#8a7bcf',
    500: '#4e48b9',
    950: '#000000',
  },
}
SCSS
$custom: #4e48b9;
$custom-light: #8a7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48b9",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 243.186,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47484,
    "c": 0.17239,
    "h": 279.9
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

primary
#4E48B9
secondary
#C5C895
accent
#D453CE
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4E48B9

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

Preview Lab → · Contrast checker → · Palette generator →

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