#4E48C3#4E48C3

#4E48C3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.186 H 279.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4E48C3
RGBrgb(78, 72, 195)
HSLhsl(243, 51%, 52%)
HSVhsv(243, 63%, 76%)
CMYKcmyk(60%, 63.1%, 0%, 23.5%)
CIE-LABlab(38.19, 38.46, -63.68)
CIE-LCHlch(38.19, 74.40, 301.13°)
OKLaboklab(48.31% 0.0292 -0.1832)
OKLCHoklch(48.31% 0.186 279)
XYZxyz(15.3064, 10.1934, 52.7801)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48C3 #BDC348
analogous
#487FC3 #4E48C3 #8C48C3
triadic
#4E48C3 #C34E48 #48C34E
tetradic
#4E48C3 #C3487F #BDC348 #48C38C
square
#4E48C3 #C3487F #BDC348 #48C38C
split-complementary
#4E48C3 #C38C48 #7FC348
monochromatic
#27246D #38339B #4E48C3 #7B76D2 #A7A4E1

Accessibility & contrast

On white

6.91
#4E48C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E48C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48C3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48C3#FFFFFF#000000##FFFFFF
##4E48C31.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e48c3;
/* rgb */ color: rgb(78, 72, 195);
/* oklch */ color: oklch(48.3% 0.186 279.0);
Tailwind
colors: {
  custom: {
    50: '#8b7bd6',
    500: '#4e48c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e48c3;
$custom-light: #8b7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48c3",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 195
  },
  "hsl": {
    "h": 242.927,
    "s": 50.617,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48306,
    "c": 0.18555,
    "h": 279
  },
  "luminance": 0.10195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E48C3

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

Preview Lab → · Contrast checker → · Palette generator →

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