#4E46C1#4E46C1

#4E46C1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.185 H 279.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4E46C1
RGBrgb(78, 70, 193)
HSLhsl(244, 50%, 52%)
HSVhsv(244, 64%, 76%)
CMYKcmyk(59.6%, 63.7%, 0%, 24.3%)
CIE-LABlab(37.57, 39.02, -63.52)
CIE-LCHlch(37.57, 74.55, 301.56°)
OKLaboklab(47.81% 0.0311 -0.1828)
OKLCHoklch(47.81% 0.185 279.7)
XYZxyz(14.9546, 9.8492, 51.5548)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E46C1 #B9C146
analogous
#467CC1 #4E46C1 #8C46C1
triadic
#4E46C1 #C14E46 #46C14E
tetradic
#4E46C1 #C1467C #B9C146 #46C18C
square
#4E46C1 #C1467C #B9C146 #46C18C
split-complementary
#4E46C1 #C18C46 #7CC146
monochromatic
#282369 #393397 #4E46C1 #7A74D0 #A6A2E0

Accessibility & contrast

On white

7.07
#4E46C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4E46C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E46C1
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E46C1#FFFFFF#000000##FFFFFF
##4E46C11.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e46c1;
/* rgb */ color: rgb(78, 70, 193);
/* oklch */ color: oklch(47.8% 0.185 279.7);
Tailwind
colors: {
  custom: {
    50: '#8b7ad5',
    500: '#4e46c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e46c1;
$custom-light: #8b7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e46c1",
  "rgb": {
    "r": 78,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 243.902,
    "s": 49.798,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.1854,
    "h": 279.7
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#4E46C1
secondary
#C9CC96
accent
#D94ED0
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E46C1

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

Preview Lab → · Contrast checker → · Palette generator →

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