#4E48E0#4E48E0

#4E48E0 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.222 H 276.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4E48E0
RGBrgb(78, 72, 224)
HSLhsl(242, 71%, 58%)
HSVhsv(242, 68%, 88%)
CMYKcmyk(65.2%, 67.9%, 0%, 12.2%)
CIE-LABlab(40.63, 47.80, -76.41)
CIE-LCHlch(40.63, 90.13, 302.03°)
OKLaboklab(50.83% 0.0261 -0.2206)
OKLCHoklch(50.83% 0.222 276.7)
XYZxyz(18.9094, 11.6346, 71.7558)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E48E0 #DAE048
analogous
#488EE0 #4E48E0 #9A48E0
triadic
#4E48E0 #E04E48 #48E04E
tetradic
#4E48E0 #E0488E #DAE048 #48E09A
square
#4E48E0 #E0488E #DAE048 #48E09A
split-complementary
#4E48E0 #E09A48 #8EE048
monochromatic
#1E1994 #2922C9 #4E48E0 #817CE9 #B3B1F2

Accessibility & contrast

On white

6.31
#4E48E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E48E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E48E0
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E48E0#FFFFFF#000000##FFFFFF
##4E48E01.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#0059DD
Tritanopia (blue-blind)
#00718E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e48e0;
/* rgb */ color: rgb(78, 72, 224);
/* oklch */ color: oklch(50.8% 0.222 276.7);
Tailwind
colors: {
  custom: {
    50: '#917ceb',
    500: '#4e48e0',
    950: '#000000',
  },
}
SCSS
$custom: #4e48e0;
$custom-light: #917ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e48e0",
  "rgb": {
    "r": 78,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 242.368,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5083,
    "c": 0.2221,
    "h": 276.7
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#4E48E0
secondary
#DEE0A4
accent
#EE3AE7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E48E0

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

Preview Lab → · Contrast checker → · Palette generator →

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