#4E48C2#4E48C2

#4E48C2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.2% C 0.184 H 279.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4E48C2
RGBrgb(78, 72, 194)
HSLhsl(243, 50%, 52%)
HSVhsv(243, 63%, 76%)
CMYKcmyk(59.8%, 62.9%, 0%, 23.9%)
CIE-LABlab(38.11, 38.14, -63.23)
CIE-LCHlch(38.11, 73.84, 301.10°)
OKLaboklab(48.22% 0.0292 -0.1819)
OKLCHoklch(48.22% 0.184 279.1)
XYZxyz(15.1938, 10.1484, 52.1867)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48C2 #BCC248
analogous
#487FC2 #4E48C2 #8B48C2
triadic
#4E48C2 #C24E48 #48C24E
tetradic
#4E48C2 #C2487F #BCC248 #48C28B
square
#4E48C2 #C2487F #BCC248 #48C28B
split-complementary
#4E48C2 #C28B48 #7FC248
monochromatic
#27246C #38339A #4E48C2 #7A76D1 #A7A4E1

Accessibility & contrast

On white

6.93
#4E48C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E48C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48C2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48C2#FFFFFF#000000##FFFFFF
##4E48C21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e48c2;
/* rgb */ color: rgb(78, 72, 194);
/* oklch */ color: oklch(48.2% 0.184 279.1);
Tailwind
colors: {
  custom: {
    50: '#8b7bd5',
    500: '#4e48c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e48c2;
$custom-light: #8b7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48c2",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 242.951,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.18425,
    "h": 279.1
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#4E48C2
secondary
#CBCE98
accent
#DA4ED3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E48C2

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

Preview Lab → · Contrast checker → · Palette generator →

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