#4E41A1#4E41A1

#4E41A1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.149 H 284.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4E41A1
RGBrgb(78, 65, 161)
HSLhsl(248, 42%, 44%)
HSVhsv(248, 60%, 63%)
CMYKcmyk(51.6%, 59.6%, 0%, 36.9%)
CIE-LABlab(33.93, 31.84, -50.46)
CIE-LCHlch(33.93, 59.66, 302.25°)
OKLaboklab(44.36% 0.0379 -0.1444)
OKLCHoklch(44.36% 0.149 284.7)
XYZxyz(11.4633, 7.9729, 34.6462)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A1 #94A141
analogous
#4164A1 #4E41A1 #7E41A1
triadic
#4E41A1 #A14E41 #41A14E
tetradic
#4E41A1 #A14164 #94A141 #41A17E
square
#4E41A1 #A14164 #94A141 #41A17E
split-complementary
#4E41A1 #A17E41 #64A141
monochromatic
#241E4A #392F75 #4E41A1 #6D60BF #958CD1

Accessibility & contrast

On white

8.09
#4E41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E41A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41A1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A1#FFFFFF#000000##FFFFFF
##4E41A11.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#2F576A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e41a1;
/* rgb */ color: rgb(78, 65, 161);
/* oklch */ color: oklch(44.4% 0.149 284.7);
Tailwind
colors: {
  custom: {
    50: '#8676bd',
    500: '#4e41a1',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a1;
$custom-light: #8676bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a1",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 161
  },
  "hsl": {
    "h": 248.125,
    "s": 42.478,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44358,
    "c": 0.1493,
    "h": 284.7
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#4E41A1
secondary
#B4BB82
accent
#D256C1
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E41A1

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

Preview Lab → · Contrast checker → · Palette generator →

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