#4E46C9#4E46C9

#4E46C9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.5% C 0.196 H 278.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4E46C9
RGBrgb(78, 70, 201)
HSLhsl(244, 55%, 53%)
HSVhsv(244, 65%, 79%)
CMYKcmyk(61.2%, 65.2%, 0%, 21.2%)
CIE-LABlab(38.23, 41.60, -67.11)
CIE-LCHlch(38.23, 78.96, 301.79°)
OKLaboklab(48.49% 0.0303 -0.1933)
OKLCHoklch(48.49% 0.196 278.9)
XYZxyz(15.8713, 10.2159, 56.3825)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46C9 #C1C946
analogous
#467FC9 #4E46C9 #8F46C9
triadic
#4E46C9 #C94E46 #46C94E
tetradic
#4E46C9 #C9467F #C1C946 #46C98F
square
#4E46C9 #C9467F #C1C946 #46C98F
split-complementary
#4E46C9 #C98F46 #7FC946
monochromatic
#272273 #362FA2 #4E46C9 #7B75D7 #A9A5E5

Accessibility & contrast

On white

6.90
#4E46C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4E46C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E46C9
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46C9#FFFFFF#000000##FFFFFF
##4E46C91.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e46c9;
/* rgb */ color: rgb(78, 70, 201);
/* oklch */ color: oklch(48.5% 0.196 278.9);
Tailwind
colors: {
  custom: {
    50: '#8d7ada',
    500: '#4e46c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e46c9;
$custom-light: #8d7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46c9",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 201
  },
  "hsl": {
    "h": 243.664,
    "s": 54.812,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.19568,
    "h": 278.9
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#4E46C9
secondary
#CED299
accent
#DE4AD5
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E46C9

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

Preview Lab → · Contrast checker → · Palette generator →

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