#4E46D9#4E46D9

#4E46D9 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.9% C 0.216 H 277.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4E46D9
RGBrgb(78, 70, 217)
HSLhsl(243, 66%, 56%)
HSVhsv(243, 68%, 85%)
CMYKcmyk(64.1%, 67.7%, 0%, 14.9%)
CIE-LABlab(39.59, 46.71, -74.10)
CIE-LCHlch(39.59, 87.60, 302.23°)
OKLaboklab(49.9% 0.0284 -0.2138)
OKLCHoklch(49.9% 0.216 277.6)
XYZxyz(17.8524, 11.0083, 66.8162)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46D9 #D1D946
analogous
#4688D9 #4E46D9 #9846D9
triadic
#4E46D9 #D94E46 #46D94E
tetradic
#4E46D9 #D94688 #D1D946 #46D998
square
#4E46D9 #D94688 #D1D946 #46D998
split-complementary
#4E46D9 #D99846 #88D946
monochromatic
#221C89 #2F26BB #4E46D9 #7F79E3 #AFACEE

Accessibility & contrast

On white

6.56
#4E46D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E46D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46D9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46D9#FFFFFF#000000##FFFFFF
##4E46D91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DD
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e46d9;
/* rgb */ color: rgb(78, 70, 217);
/* oklch */ color: oklch(49.9% 0.216 277.6);
Tailwind
colors: {
  custom: {
    50: '#907be6',
    500: '#4e46d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e46d9;
$custom-light: #907be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46d9",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 243.265,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.2157,
    "h": 277.6
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#4E46D9
secondary
#D8DC9F
accent
#E93FE0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4E46D9

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

Preview Lab → · Contrast checker → · Palette generator →

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