#4E41AB#4E41AB

#4E41AB is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.163 H 283.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4E41AB
RGBrgb(78, 65, 171)
HSLhsl(247, 45%, 46%)
HSVhsv(247, 62%, 67%)
CMYKcmyk(54.4%, 62%, 0%, 32.9%)
CIE-LABlab(34.68, 35.00, -55.23)
CIE-LCHlch(34.68, 65.39, 302.37°)
OKLaboklab(45.15% 0.0375 -0.1584)
OKLCHoklch(45.15% 0.163 283.3)
XYZxyz(12.3806, 8.3399, 39.4776)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41AB #9EAB41
analogous
#4169AB #4E41AB #8341AB
triadic
#4E41AB #AB4E41 #41AB4E
tetradic
#4E41AB #AB4169 #9EAB41 #41AB83
square
#4E41AB #AB4169 #9EAB41 #41AB83
split-complementary
#4E41AB #AB8341 #69AB41
monochromatic
#261F52 #3A307F #4E41AB #7165C4 #9A91D5

Accessibility & contrast

On white

7.87
#4E41AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4E41AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41AB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41AB#FFFFFF#000000##FFFFFF
##4E41AB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#255A70
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e41ab;
/* rgb */ color: rgb(78, 65, 171);
/* oklch */ color: oklch(45.1% 0.163 283.3);
Tailwind
colors: {
  custom: {
    50: '#8876c5',
    500: '#4e41ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e41ab;
$custom-light: #8876c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41ab",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 247.358,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4515,
    "c": 0.16282,
    "h": 283.3
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#4E41AB
secondary
#BAC187
accent
#D553C5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E41AB

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

Preview Lab → · Contrast checker → · Palette generator →

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