#4E41C1#4E41C1

#4E41C1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.0% C 0.191 H 280.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4E41C1
RGBrgb(78, 65, 193)
HSLhsl(246, 51%, 51%)
HSVhsv(246, 66%, 76%)
CMYKcmyk(59.6%, 66.3%, 0%, 24.3%)
CIE-LABlab(36.46, 41.99, -65.33)
CIE-LCHlch(36.46, 77.66, 302.73°)
OKLaboklab(47% 0.0354 -0.1881)
OKLCHoklch(47% 0.191 280.7)
XYZxyz(14.6548, 9.2495, 51.4548)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41C1 #B4C141
analogous
#4174C1 #4E41C1 #8E41C1
triadic
#4E41C1 #C14E41 #41C14E
tetradic
#4E41C1 #C14174 #B4C141 #41C18E
square
#4E41C1 #C14174 #B4C141 #41C18E
split-complementary
#4E41C1 #C18E41 #74C141
monochromatic
#282166 #3B3094 #4E41C1 #796FD0 #A49DDF

Accessibility & contrast

On white

7.37
#4E41C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E41C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41C1
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41C1#FFFFFF#000000##FFFFFF
##4E41C11.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e41c1;
/* rgb */ color: rgb(78, 65, 193);
/* oklch */ color: oklch(47.0% 0.191 280.7);
Tailwind
colors: {
  custom: {
    50: '#8c77d5',
    500: '#4e41c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e41c1;
$custom-light: #8c77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41c1",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 246.094,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.19142,
    "h": 280.7
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

primary
#4E41C1
secondary
#C6CB92
accent
#DA4ECC
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E41C1

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

Preview Lab → · Contrast checker → · Palette generator →

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