#4E41B3#4E41B3

#4E41B3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.8% C 0.173 H 282.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4E41B3
RGBrgb(78, 65, 179)
HSLhsl(247, 47%, 48%)
HSVhsv(247, 64%, 70%)
CMYKcmyk(56.4%, 63.7%, 0%, 29.8%)
CIE-LABlab(35.31, 37.55, -58.97)
CIE-LCHlch(35.31, 69.91, 302.49°)
OKLaboklab(45.81% 0.0369 -0.1694)
OKLCHoklch(45.81% 0.173 282.3)
XYZxyz(13.1664, 8.6541, 43.6157)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41B3 #A6B341
analogous
#416DB3 #4E41B3 #8741B3
triadic
#4E41B3 #B34E41 #41B34E
tetradic
#4E41B3 #B3416D #A6B341 #41B387
square
#4E41B3 #B3416D #A6B341 #41B387
split-complementary
#4E41B3 #B38741 #6DB341
monochromatic
#272059 #3A3186 #4E41B3 #7469C8 #9D96D9

Accessibility & contrast

On white

7.69
#4E41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4E41B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41B3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41B3#FFFFFF#000000##FFFFFF
##4E41B31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#1B5D74
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e41b3;
/* rgb */ color: rgb(78, 65, 179);
/* oklch */ color: oklch(45.8% 0.173 282.3);
Tailwind
colors: {
  custom: {
    50: '#8976cb',
    500: '#4e41b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e41b3;
$custom-light: #8976cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41b3",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 246.842,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.1734,
    "h": 282.3
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#4E41B3
secondary
#BEC48B
accent
#D651C7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0D0813
muted
#7D7B82

Preview Lab

Preview with #4E41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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