#4E46E4#4E46E4

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

Color values

HEX#4E46E4
RGBrgb(78, 70, 228)
HSLhsl(243, 75%, 58%)
HSVhsv(243, 69%, 89%)
CMYKcmyk(65.8%, 69.3%, 0%, 10.6%)
CIE-LABlab(40.57, 50.19, -78.78)
CIE-LCHlch(40.57, 93.41, 302.50°)
OKLaboklab(50.9% 0.0268 -0.2275)
OKLCHoklch(50.9% 0.229 276.7)
XYZxyz(19.3311, 11.5998, 74.6040)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46E4 #DCE446
analogous
#468DE4 #4E46E4 #9D46E4
triadic
#4E46E4 #E44E46 #46E44E
tetradic
#4E46E4 #E4468D #DCE446 #46E49D
square
#4E46E4 #E4468D #DCE446 #46E49D
split-complementary
#4E46E4 #E49D46 #8DE446
monochromatic
#1D1699 #271ECF #4E46E4 #817BEC #B4B1F4

Accessibility & contrast

On white

6.32
#4E46E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E46E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46E4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46E4#FFFFFF#000000##FFFFFF
##4E46E41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E9
Deuteranopia (green-blind)
#0059E1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e46e4;
/* rgb */ color: rgb(78, 70, 228);
/* oklch */ color: oklch(50.9% 0.229 276.7);
Tailwind
colors: {
  custom: {
    50: '#927bee',
    500: '#4e46e4',
    950: '#000000',
  },
}
SCSS
$custom: #4e46e4;
$custom-light: #927bee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46e4",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 243.038,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.50898,
    "c": 0.22907,
    "h": 276.7
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#4E46E4
secondary
#DFE2A4
accent
#F137E8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4E46E4

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

Preview Lab → · Contrast checker → · Palette generator →

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