#4E41B7#4E41B7

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

Color values

HEX#4E41B7
RGBrgb(78, 65, 183)
HSLhsl(247, 48%, 49%)
HSVhsv(247, 64%, 72%)
CMYKcmyk(57.4%, 64.5%, 0%, 28.2%)
CIE-LABlab(35.63, 38.82, -60.81)
CIE-LCHlch(35.63, 72.14, 302.55°)
OKLaboklab(46.14% 0.0365 -0.1748)
OKLCHoklch(46.14% 0.179 281.8)
XYZxyz(13.5768, 8.8183, 45.7772)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41B7 #AAB741
analogous
#416FB7 #4E41B7 #8941B7
triadic
#4E41B7 #B74E41 #41B74E
tetradic
#4E41B7 #B7416F #AAB741 #41B789
square
#4E41B7 #B7416F #AAB741 #41B789
split-complementary
#4E41B7 #B78941 #6FB741
monochromatic
#28215D #3B318A #4E41B7 #756BCA #9F98DA

Accessibility & contrast

On white

7.60
#4E41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E41B7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41B7#FFFFFF#000000##FFFFFF
##4E41B71.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#145E76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e41b7;
/* rgb */ color: rgb(78, 65, 183);
/* oklch */ color: oklch(46.1% 0.179 281.8);
Tailwind
colors: {
  custom: {
    50: '#8a76ce',
    500: '#4e41b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e41b7;
$custom-light: #8a76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41b7",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 246.61,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.1786,
    "h": 281.8
  },
  "luminance": 0.08819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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