#4E46E1#4E46E1

#4E46E1 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.6% C 0.225 H 277.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4E46E1
RGBrgb(78, 70, 225)
HSLhsl(243, 72%, 58%)
HSVhsv(243, 69%, 88%)
CMYKcmyk(65.3%, 68.9%, 0%, 11.8%)
CIE-LABlab(40.30, 49.25, -77.51)
CIE-LCHlch(40.30, 91.84, 302.43°)
OKLaboklab(50.62% 0.0273 -0.2238)
OKLCHoklch(50.62% 0.225 277)
XYZxyz(18.9182, 11.4346, 72.4297)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46E1 #D9E146
analogous
#468BE1 #4E46E1 #9C46E1
triadic
#4E46E1 #E14E46 #46E14E
tetradic
#4E46E1 #E1468B #D9E146 #46E19C
square
#4E46E1 #E1468B #D9E146 #46E19C
split-complementary
#4E46E1 #E19C46 #8BE146
monochromatic
#1F1895 #2921C9 #4E46E1 #807BEA #B3AFF2

Accessibility & contrast

On white

6.39
#4E46E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4E46E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46E1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46E1#FFFFFF#000000##FFFFFF
##4E46E11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#0058DE
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e46e1;
/* rgb */ color: rgb(78, 70, 225);
/* oklch */ color: oklch(50.6% 0.225 277.0);
Tailwind
colors: {
  custom: {
    50: '#917bec',
    500: '#4e46e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e46e1;
$custom-light: #917bec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46e1",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 243.097,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.22545,
    "h": 277
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#4E46E1
secondary
#DDE0A2
accent
#EF39E5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E46E1

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

Preview Lab → · Contrast checker → · Palette generator →

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