#4E41E2#4E41E2

#4E41E2 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.0% C 0.232 H 277.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4E41E2
RGBrgb(78, 65, 226)
HSLhsl(245, 74%, 57%)
HSVhsv(245, 71%, 89%)
CMYKcmyk(65.5%, 71.2%, 0%, 11.4%)
CIE-LABlab(39.39, 52.33, -79.58)
CIE-LCHlch(39.39, 95.24, 303.33°)
OKLaboklab(50% 0.0303 -0.2298)
OKLCHoklch(50% 0.232 277.5)
XYZxyz(18.7552, 10.8897, 73.0503)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41E2 #D5E241
analogous
#4184E2 #4E41E2 #9F41E2
triadic
#4E41E2 #E24E41 #41E24E
tetradic
#4E41E2 #E24184 #D5E241 #41E29F
square
#4E41E2 #E24184 #D5E241 #41E29F
split-complementary
#4E41E2 #E29F41 #84E241
monochromatic
#201692 #2C1EC7 #4E41E2 #7F76EA #B1ABF2

Accessibility & contrast

On white

6.61
#4E41E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E41E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E41E2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41E2#FFFFFF#000000##FFFFFF
##4E41E21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e41e2;
/* rgb */ color: rgb(78, 65, 226);
/* oklch */ color: oklch(50.0% 0.232 277.5);
Tailwind
colors: {
  custom: {
    50: '#9278ec',
    500: '#4e41e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e41e2;
$custom-light: #9278ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41e2",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 244.845,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5,
    "c": 0.2318,
    "h": 277.5
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#4E41E2
secondary
#DBE09F
accent
#F038E1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E41E2

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

Preview Lab → · Contrast checker → · Palette generator →

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