#4E48E8#4E48E8

#4E48E8 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.232 H 276.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4E48E8
RGBrgb(78, 72, 232)
HSLhsl(242, 78%, 60%)
HSVhsv(242, 69%, 91%)
CMYKcmyk(66.4%, 69%, 0%, 9%)
CIE-LABlab(41.34, 50.33, -79.79)
CIE-LCHlch(41.34, 94.34, 302.25°)
OKLaboklab(51.56% 0.025 -0.2304)
OKLCHoklch(51.56% 0.232 276.2)
XYZxyz(20.0200, 12.0789, 77.6047)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48E8 #E2E848
analogous
#4892E8 #4E48E8 #9E48E8
triadic
#4E48E8 #E84E48 #48E84E
tetradic
#4E48E8 #E84892 #E2E848 #48E89E
square
#4E48E8 #E84892 #E2E848 #48E89E
split-complementary
#4E48E8 #E89E48 #92E848
monochromatic
#1A14A1 #221BD8 #4E48E8 #837EEF #B7B5F6

Accessibility & contrast

On white

6.15
#4E48E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4E48E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48E8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48E8#FFFFFF#000000##FFFFFF
##4E48E81.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068ED
Deuteranopia (green-blind)
#005AE5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e48e8;
/* rgb */ color: rgb(78, 72, 232);
/* oklch */ color: oklch(51.6% 0.232 276.2);
Tailwind
colors: {
  custom: {
    50: '#927cf1',
    500: '#4e48e8',
    950: '#000000',
  },
}
SCSS
$custom: #4e48e8;
$custom-light: #927cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48e8",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 242.25,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.23179,
    "h": 276.2
  },
  "luminance": 0.12081
}

Semantic roles & 50–950 ramp

primary
#4E48E8
secondary
#E3E5A7
accent
#F434ED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4E48E8

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

Preview Lab → · Contrast checker → · Palette generator →

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