#4E48CA#4E48CA

#4E48CA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.9% C 0.195 H 278.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4E48CA
RGBrgb(78, 72, 202)
HSLhsl(243, 55%, 54%)
HSVhsv(243, 64%, 79%)
CMYKcmyk(61.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(38.76, 40.73, -66.83)
CIE-LCHlch(38.76, 78.26, 301.36°)
OKLaboklab(48.9% 0.0286 -0.1925)
OKLCHoklch(48.9% 0.195 278.4)
XYZxyz(16.1165, 10.5175, 57.0464)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48CA #C4CA48
analogous
#4883CA #4E48CA #8F48CA
triadic
#4E48CA #CA4E48 #48CA4E
tetradic
#4E48CA #CA4883 #C4CA48 #48CA8F
square
#4E48CA #CA4883 #C4CA48 #48CA8F
split-complementary
#4E48CA #CA8F48 #83CA48
monochromatic
#262276 #3530A5 #4E48CA #7C77D8 #AAA7E5

Accessibility & contrast

On white

6.77
#4E48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48CA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48CA#FFFFFF#000000##FFFFFF
##4E48CA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e48ca;
/* rgb */ color: rgb(78, 72, 202);
/* oklch */ color: oklch(48.9% 0.195 278.4);
Tailwind
colors: {
  custom: {
    50: '#8d7cdb',
    500: '#4e48ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e48ca;
$custom-light: #8d7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48ca",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 242.769,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.19459,
    "h": 278.4
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#4E48CA
secondary
#D0D39B
accent
#DE49D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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