#4E48CB#4E48CB

#4E48CB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.0% C 0.196 H 278.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4E48CB
RGBrgb(78, 72, 203)
HSLhsl(243, 56%, 54%)
HSVhsv(243, 65%, 80%)
CMYKcmyk(61.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(38.84, 41.05, -67.27)
CIE-LCHlch(38.84, 78.81, 301.39°)
OKLaboklab(48.98% 0.0285 -0.1938)
OKLCHoklch(48.98% 0.196 278.4)
XYZxyz(16.2353, 10.5650, 57.6720)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48CB #C5CB48
analogous
#4884CB #4E48CB #9048CB
triadic
#4E48CB #CB4E48 #48CB4E
tetradic
#4E48CB #CB4884 #C5CB48 #48CB90
square
#4E48CB #CB4884 #C5CB48 #48CB90
split-complementary
#4E48CB #CB9048 #84CB48
monochromatic
#262277 #352FA6 #4E48CB #7C78D9 #AAA7E6

Accessibility & contrast

On white

6.75
#4E48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4E48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48CB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48CB#FFFFFF#000000##FFFFFF
##4E48CB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e48cb;
/* rgb */ color: rgb(78, 72, 203);
/* oklch */ color: oklch(49.0% 0.196 278.4);
Tailwind
colors: {
  custom: {
    50: '#8d7cdc',
    500: '#4e48cb',
    950: '#000000',
  },
}
SCSS
$custom: #4e48cb;
$custom-light: #8d7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48cb",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 242.748,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48982,
    "c": 0.19587,
    "h": 278.4
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#4E48CB
secondary
#D1D39B
accent
#DF49D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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