#4E48EA#4E48EA

#4E48EA is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.234 H 276.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4E48EA
RGBrgb(78, 72, 234)
HSLhsl(242, 79%, 60%)
HSVhsv(242, 69%, 92%)
CMYKcmyk(66.7%, 69.2%, 0%, 8.2%)
CIE-LABlab(41.52, 50.97, -80.62)
CIE-LCHlch(41.52, 95.38, 302.30°)
OKLaboklab(51.74% 0.0246 -0.2329)
OKLCHoklch(51.74% 0.234 276)
XYZxyz(20.3057, 12.1931, 79.1094)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48EA #E4EA48
analogous
#4893EA #4E48EA #9F48EA
triadic
#4E48EA #EA4E48 #48EA4E
tetradic
#4E48EA #EA4893 #E4EA48 #48EA9F
square
#4E48EA #EA4893 #E4EA48 #48EA9F
split-complementary
#4E48EA #EA9F48 #93EA48
monochromatic
#1813A5 #2019DC #4E48EA #837FF0 #B8B6F7

Accessibility & contrast

On white

6.11
#4E48EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4E48EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48EA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48EA#FFFFFF#000000##FFFFFF
##4E48EA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EF
Deuteranopia (green-blind)
#005BE7
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4e48ea;
/* rgb */ color: rgb(78, 72, 234);
/* oklch */ color: oklch(51.7% 0.234 276.0);
Tailwind
colors: {
  custom: {
    50: '#937cf2',
    500: '#4e48ea',
    950: '#000000',
  },
}
SCSS
$custom: #4e48ea;
$custom-light: #937cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48ea",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 234
  },
  "hsl": {
    "h": 242.222,
    "s": 79.412,
    "l": 60
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.23419,
    "h": 276
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#4E48EA
secondary
#E4E6A8
accent
#F632EF
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4E48EA

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

Preview Lab → · Contrast checker → · Palette generator →

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