#4E41B6#4E41B6

#4E41B6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.177 H 281.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4E41B6
RGBrgb(78, 65, 182)
HSLhsl(247, 47%, 48%)
HSVhsv(247, 64%, 71%)
CMYKcmyk(57.1%, 64.3%, 0%, 28.6%)
CIE-LABlab(35.55, 38.50, -60.35)
CIE-LCHlch(35.55, 71.58, 302.54°)
OKLaboklab(46.06% 0.0366 -0.1735)
OKLCHoklch(46.06% 0.177 281.9)
XYZxyz(13.4731, 8.7768, 45.2310)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41B6 #A9B641
analogous
#416EB6 #4E41B6 #8841B6
triadic
#4E41B6 #B64E41 #41B64E
tetradic
#4E41B6 #B6416E #A9B641 #41B688
square
#4E41B6 #B6416E #A9B641 #41B688
split-complementary
#4E41B6 #B68841 #6EB641
monochromatic
#27215C #3B3189 #4E41B6 #756ACA #9F97DA

Accessibility & contrast

On white

7.62
#4E41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4E41B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41B6
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41B6#FFFFFF#000000##FFFFFF
##4E41B61.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#165E75
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e41b6;
/* rgb */ color: rgb(78, 65, 182);
/* oklch */ color: oklch(46.1% 0.177 281.9);
Tailwind
colors: {
  custom: {
    50: '#8a76cd',
    500: '#4e41b6',
    950: '#000000',
  },
}
SCSS
$custom: #4e41b6;
$custom-light: #8a76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41b6",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 246.667,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.17731,
    "h": 281.9
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#4E41B6
secondary
#BFC68D
accent
#D751C8
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E41B6

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

Preview Lab → · Contrast checker → · Palette generator →

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