#4E46E9#4E46E9

#4E46E9 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.4% C 0.235 H 276.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4E46E9
RGBrgb(78, 70, 233)
HSLhsl(243, 79%, 59%)
HSVhsv(243, 70%, 91%)
CMYKcmyk(66.5%, 70%, 0%, 8.6%)
CIE-LABlab(41.03, 51.76, -80.87)
CIE-LCHlch(41.03, 96.02, 302.62°)
OKLaboklab(51.36% 0.0261 -0.2336)
OKLCHoklch(51.36% 0.235 276.4)
XYZxyz(20.0352, 11.8814, 78.3125)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46E9 #E1E946
analogous
#4690E9 #4E46E9 #A046E9
triadic
#4E46E9 #E94E46 #46E94E
tetradic
#4E46E9 #E94690 #E1E946 #46E9A0
square
#4E46E9 #E94690 #E1E946 #46E9A0
split-complementary
#4E46E9 #E9A046 #90E946
monochromatic
#1A13A1 #231AD8 #4E46E9 #827DF0 #B7B3F6

Accessibility & contrast

On white

6.22
#4E46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4E46E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46E9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46E9#FFFFFF#000000##FFFFFF
##4E46E91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EE
Deuteranopia (green-blind)
#005AE6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e46e9;
/* rgb */ color: rgb(78, 70, 233);
/* oklch */ color: oklch(51.4% 0.235 276.4);
Tailwind
colors: {
  custom: {
    50: '#937bf1',
    500: '#4e46e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e46e9;
$custom-light: #937bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46e9",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 242.945,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.23505,
    "h": 276.4
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#4E46E9
secondary
#E2E5A6
accent
#F533EC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4E46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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