#4E48E2#4E48E2

#4E48E2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.225 H 276.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4E48E2
RGBrgb(78, 72, 226)
HSLhsl(242, 73%, 58%)
HSVhsv(242, 68%, 89%)
CMYKcmyk(65.5%, 68.1%, 0%, 11.4%)
CIE-LABlab(40.81, 48.43, -77.26)
CIE-LCHlch(40.81, 91.18, 302.08°)
OKLaboklab(51.01% 0.0258 -0.223)
OKLCHoklch(51.01% 0.225 276.6)
XYZxyz(19.1822, 11.7438, 73.1927)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48E2 #DCE248
analogous
#488FE2 #4E48E2 #9B48E2
triadic
#4E48E2 #E24E48 #48E24E
tetradic
#4E48E2 #E2488F #DCE248 #48E29B
square
#4E48E2 #E2488F #DCE248 #48E29B
split-complementary
#4E48E2 #E29B48 #8FE248
monochromatic
#1D1898 #2720CC #4E48E2 #817DEA #B4B2F3

Accessibility & contrast

On white

6.27
#4E48E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4E48E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48E2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48E2#FFFFFF#000000##FFFFFF
##4E48E21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e48e2;
/* rgb */ color: rgb(78, 72, 226);
/* oklch */ color: oklch(51.0% 0.225 276.6);
Tailwind
colors: {
  custom: {
    50: '#917cec',
    500: '#4e48e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e48e2;
$custom-light: #917cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48e2",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 242.338,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51011,
    "c": 0.22454,
    "h": 276.6
  },
  "luminance": 0.11745
}

Semantic roles & 50–950 ramp

primary
#4E48E2
secondary
#DFE1A4
accent
#EF38E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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