#4E41CA#4E41CA

#4E41CA is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.8% C 0.203 H 279.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4E41CA
RGBrgb(78, 65, 202)
HSLhsl(246, 56%, 52%)
HSVhsv(246, 68%, 79%)
CMYKcmyk(61.4%, 67.8%, 0%, 20.8%)
CIE-LABlab(37.23, 44.83, -69.32)
CIE-LCHlch(37.23, 82.56, 302.89°)
OKLaboklab(47.79% 0.0342 -0.1998)
OKLCHoklch(47.79% 0.203 279.7)
XYZxyz(15.6895, 9.6634, 56.9041)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41CA #BDCA41
analogous
#4179CA #4E41CA #9241CA
triadic
#4E41CA #CA4E41 #41CA4E
tetradic
#4E41CA #CA4179 #BDCA41 #41CA92
square
#4E41CA #CA4179 #BDCA41 #41CA92
split-complementary
#4E41CA #CA9241 #79CA41
monochromatic
#272071 #382DA1 #4E41CA #7B71D7 #A7A1E5

Accessibility & contrast

On white

7.16
#4E41CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4E41CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41CA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41CA#FFFFFF#000000##FFFFFF
##4E41CA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e41ca;
/* rgb */ color: rgb(78, 65, 202);
/* oklch */ color: oklch(47.8% 0.203 279.7);
Tailwind
colors: {
  custom: {
    50: '#8d77db',
    500: '#4e41ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e41ca;
$custom-light: #8d77db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41ca",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 245.693,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47793,
    "c": 0.20272,
    "h": 279.7
  },
  "luminance": 0.09665
}

Semantic roles & 50–950 ramp

primary
#4E41CA
secondary
#CCD196
accent
#E048D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4E41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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