#4E41C5#4E41C5

#4E41C5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.3% C 0.196 H 280.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#4E41C5
RGBrgb(78, 65, 197)
HSLhsl(246, 53%, 51%)
HSVhsv(246, 67%, 77%)
CMYKcmyk(60.4%, 67%, 0%, 22.7%)
CIE-LABlab(36.80, 43.26, -67.12)
CIE-LCHlch(36.80, 79.85, 302.80°)
OKLaboklab(47.35% 0.0349 -0.1933)
OKLCHoklch(47.35% 0.196 280.2)
XYZxyz(15.1070, 9.4304, 53.8367)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41C5 #B8C541
analogous
#4176C5 #4E41C5 #9041C5
triadic
#4E41C5 #C54E41 #41C54E
tetradic
#4E41C5 #C54176 #B8C541 #41C590
square
#4E41C5 #C54176 #B8C541 #41C590
split-complementary
#4E41C5 #C59041 #76C541
monochromatic
#28216B #392F9A #4E41C5 #7A70D3 #A59FE2

Accessibility & contrast

On white

7.28
#4E41C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4E41C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41C5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41C5#FFFFFF#000000##FFFFFF
##4E41C51.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e41c5;
/* rgb */ color: rgb(78, 65, 197);
/* oklch */ color: oklch(47.3% 0.196 280.2);
Tailwind
colors: {
  custom: {
    50: '#8c77d8',
    500: '#4e41c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e41c5;
$custom-light: #8c77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41c5",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 245.909,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4735,
    "c": 0.19646,
    "h": 280.2
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#4E41C5
secondary
#C8CE94
accent
#DD4BCE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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