#4E41C7#4E41C7

#4E41C7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.5% C 0.199 H 280.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4E41C7
RGBrgb(78, 65, 199)
HSLhsl(246, 54%, 52%)
HSVhsv(246, 67%, 78%)
CMYKcmyk(60.8%, 67.3%, 0%, 22%)
CIE-LABlab(36.97, 43.89, -68.00)
CIE-LCHlch(36.97, 80.93, 302.84°)
OKLaboklab(47.53% 0.0346 -0.1959)
OKLCHoklch(47.53% 0.199 280)
XYZxyz(15.3377, 9.5227, 55.0516)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41C7 #BAC741
analogous
#4177C7 #4E41C7 #9141C7
triadic
#4E41C7 #C74E41 #41C74E
tetradic
#4E41C7 #C74177 #BAC741 #41C791
square
#4E41C7 #C74177 #BAC741 #41C791
split-complementary
#4E41C7 #C79141 #77C741
monochromatic
#28206D #392E9D #4E41C7 #7A70D5 #A6A0E3

Accessibility & contrast

On white

7.23
#4E41C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E41C7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41C7#FFFFFF#000000##FFFFFF
##4E41C71.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4e41c7;
/* rgb */ color: rgb(78, 65, 199);
/* oklch */ color: oklch(47.5% 0.199 280.0);
Tailwind
colors: {
  custom: {
    50: '#8d77d9',
    500: '#4e41c7',
    950: '#000000',
  },
}
SCSS
$custom: #4e41c7;
$custom-light: #8d77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41c7",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 245.821,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47526,
    "c": 0.19898,
    "h": 280
  },
  "luminance": 0.09524
}

Semantic roles & 50–950 ramp

primary
#4E41C7
secondary
#CACF95
accent
#DE4ACF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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