#4E41B4#4E41B4

#4E41B4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.9% C 0.175 H 282.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4E41B4
RGBrgb(78, 65, 180)
HSLhsl(247, 47%, 48%)
HSVhsv(247, 64%, 71%)
CMYKcmyk(56.7%, 63.9%, 0%, 29.4%)
CIE-LABlab(35.39, 37.87, -59.43)
CIE-LCHlch(35.39, 70.47, 302.50°)
OKLaboklab(45.89% 0.0368 -0.1708)
OKLCHoklch(45.89% 0.175 282.2)
XYZxyz(13.2679, 8.6947, 44.1503)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41B4 #A7B441
analogous
#416DB4 #4E41B4 #8841B4
triadic
#4E41B4 #B44E41 #41B44E
tetradic
#4E41B4 #B4416D #A7B441 #41B488
square
#4E41B4 #B4416D #A7B441 #41B488
split-complementary
#4E41B4 #B48841 #6DB441
monochromatic
#27215A #3B3187 #4E41B4 #7469C9 #9E96D9

Accessibility & contrast

On white

7.67
#4E41B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E41B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41B4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41B4#FFFFFF#000000##FFFFFF
##4E41B41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#195D74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e41b4;
/* rgb */ color: rgb(78, 65, 180);
/* oklch */ color: oklch(45.9% 0.175 282.2);
Tailwind
colors: {
  custom: {
    50: '#8976cb',
    500: '#4e41b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e41b4;
$custom-light: #8976cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41b4",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 246.783,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.1747,
    "h": 282.2
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#4E41B4
secondary
#BEC58C
accent
#D751C7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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