#4E48C0#4E48C0

#4E48C0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.182 H 279.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4E48C0
RGBrgb(78, 72, 192)
HSLhsl(243, 49%, 52%)
HSVhsv(243, 63%, 75%)
CMYKcmyk(59.4%, 62.5%, 0%, 24.7%)
CIE-LABlab(37.95, 37.49, -62.32)
CIE-LCHlch(37.95, 72.73, 301.03°)
OKLaboklab(48.06% 0.0294 -0.1792)
OKLCHoklch(48.06% 0.182 279.3)
XYZxyz(14.9707, 10.0591, 51.0117)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48C0 #BAC048
analogous
#487EC0 #4E48C0 #8A48C0
triadic
#4E48C0 #C04E48 #48C04E
tetradic
#4E48C0 #C0487E #BAC048 #48C08A
square
#4E48C0 #C0487E #BAC048 #48C08A
split-complementary
#4E48C0 #C08A48 #7EC048
monochromatic
#282469 #393497 #4E48C0 #7A76D0 #A6A3DF

Accessibility & contrast

On white

6.97
#4E48C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E48C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48C0
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48C0#FFFFFF#000000##FFFFFF
##4E48C01.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e48c0;
/* rgb */ color: rgb(78, 72, 192);
/* oklch */ color: oklch(48.1% 0.182 279.3);
Tailwind
colors: {
  custom: {
    50: '#8b7bd4',
    500: '#4e48c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e48c0;
$custom-light: #8b7bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48c0",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 243,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.18164,
    "h": 279.3
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#4E48C0
secondary
#CACC98
accent
#D84FD1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E48C0

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

Preview Lab → · Contrast checker → · Palette generator →

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