#4E41C6#4E41C6

#4E41C6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.4% C 0.198 H 280.1°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4E41C6
RGBrgb(78, 65, 198)
HSLhsl(246, 54%, 52%)
HSVhsv(246, 67%, 78%)
CMYKcmyk(60.6%, 67.2%, 0%, 22.4%)
CIE-LABlab(36.89, 43.57, -67.56)
CIE-LCHlch(36.89, 80.39, 302.82°)
OKLaboklab(47.44% 0.0348 -0.1946)
OKLCHoklch(47.44% 0.198 280.1)
XYZxyz(15.2220, 9.4764, 54.4421)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41C6 #B9C641
analogous
#4177C6 #4E41C6 #9141C6
triadic
#4E41C6 #C64E41 #41C64E
tetradic
#4E41C6 #C64177 #B9C641 #41C691
square
#4E41C6 #C64177 #B9C641 #41C691
split-complementary
#4E41C6 #C69141 #77C641
monochromatic
#28206C #392F9B #4E41C6 #7A70D4 #A69FE2

Accessibility & contrast

On white

7.25
#4E41C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4E41C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41C6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41C6#FFFFFF#000000##FFFFFF
##4E41C61.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e41c6;
/* rgb */ color: rgb(78, 65, 198);
/* oklch */ color: oklch(47.4% 0.198 280.1);
Tailwind
colors: {
  custom: {
    50: '#8c77d8',
    500: '#4e41c6',
    950: '#000000',
  },
}
SCSS
$custom: #4e41c6;
$custom-light: #8c77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41c6",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 245.865,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.19772,
    "h": 280.1
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#4E41C6
secondary
#C9CF94
accent
#DD4BCF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E41C6

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

Preview Lab → · Contrast checker → · Palette generator →

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