#4E41BA#4E41BA

#4E41BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.182 H 281.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#4E41BA
RGBrgb(78, 65, 186)
HSLhsl(246, 48%, 49%)
HSVhsv(246, 65%, 73%)
CMYKcmyk(58.1%, 65.1%, 0%, 27.1%)
CIE-LABlab(35.88, 39.77, -62.18)
CIE-LCHlch(35.88, 73.81, 302.60°)
OKLaboklab(46.4% 0.0362 -0.1788)
OKLCHoklch(46.4% 0.182 281.4)
XYZxyz(13.8923, 8.9445, 47.4393)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41BA #ADBA41
analogous
#4171BA #4E41BA #8B41BA
triadic
#4E41BA #BA4E41 #41BA4E
tetradic
#4E41BA #BA4171 #ADBA41 #41BA8B
square
#4E41BA #BA4171 #ADBA41 #41BA8B
split-complementary
#4E41BA #BA8B41 #71BA41
monochromatic
#28215F #3B318D #4E41BA #776CCC #A19ADC

Accessibility & contrast

On white

7.53
#4E41BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4E41BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41BA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41BA#FFFFFF#000000##FFFFFF
##4E41BA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#0C6077
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4e41ba;
/* rgb */ color: rgb(78, 65, 186);
/* oklch */ color: oklch(46.4% 0.182 281.4);
Tailwind
colors: {
  custom: {
    50: '#8a76d0',
    500: '#4e41ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e41ba;
$custom-light: #8a76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41ba",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 246.446,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.18248,
    "h": 281.4
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#4E41BA
secondary
#C2C88F
accent
#D850C9
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #4E41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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