#4E41C2#4E41C2

#4E41C2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 47.1% C 0.193 H 280.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#4E41C2
RGBrgb(78, 65, 194)
HSLhsl(246, 51%, 51%)
HSVhsv(246, 66%, 76%)
CMYKcmyk(59.8%, 66.5%, 0%, 23.9%)
CIE-LABlab(36.54, 42.31, -65.78)
CIE-LCHlch(36.54, 78.21, 302.75°)
OKLaboklab(47.09% 0.0353 -0.1894)
OKLCHoklch(47.09% 0.193 280.6)
XYZxyz(14.7667, 9.2943, 52.0443)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41C2 #B5C241
analogous
#4174C2 #4E41C2 #8F41C2
triadic
#4E41C2 #C24E41 #41C24E
tetradic
#4E41C2 #C24174 #B5C241 #41C28F
square
#4E41C2 #C24174 #B5C241 #41C28F
split-complementary
#4E41C2 #C28F41 #74C241
monochromatic
#282167 #3A3096 #4E41C2 #796FD1 #A49EE0

Accessibility & contrast

On white

7.35
#4E41C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E41C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41C2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41C2#FFFFFF#000000##FFFFFF
##4E41C21.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e41c2;
/* rgb */ color: rgb(78, 65, 194);
/* oklch */ color: oklch(47.1% 0.193 280.6);
Tailwind
colors: {
  custom: {
    50: '#8c77d5',
    500: '#4e41c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e41c2;
$custom-light: #8c77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41c2",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 246.047,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.19269,
    "h": 280.6
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#4E41C2
secondary
#C6CC93
accent
#DB4DCD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4E41C2

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

Preview Lab → · Contrast checker → · Palette generator →

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