#4E41A5#4E41A5

#4E41A5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.155 H 284.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#4E41A5
RGBrgb(78, 65, 165)
HSLhsl(248, 43%, 45%)
HSVhsv(248, 61%, 65%)
CMYKcmyk(52.7%, 60.6%, 0%, 35.3%)
CIE-LABlab(34.22, 33.10, -52.38)
CIE-LCHlch(34.22, 61.97, 302.29°)
OKLaboklab(44.67% 0.0378 -0.1501)
OKLCHoklch(44.67% 0.155 284.1)
XYZxyz(11.8217, 8.1163, 36.5337)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A5 #98A541
analogous
#4166A5 #4E41A5 #8041A5
triadic
#4E41A5 #A54E41 #41A54E
tetradic
#4E41A5 #A54166 #98A541 #41A580
square
#4E41A5 #A54166 #98A541 #41A580
split-complementary
#4E41A5 #A58041 #66A541
monochromatic
#241E4D #393079 #4E41A5 #6E62C1 #978ED2

Accessibility & contrast

On white

8.00
#4E41A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E41A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41A5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A5#FFFFFF#000000##FFFFFF
##4E41A51.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#2B596C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e41a5;
/* rgb */ color: rgb(78, 65, 165);
/* oklch */ color: oklch(44.7% 0.155 284.1);
Tailwind
colors: {
  custom: {
    50: '#8776c0',
    500: '#4e41a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a5;
$custom-light: #8776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a5",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 247.8,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44671,
    "c": 0.15475,
    "h": 284.1
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#4E41A5
secondary
#B6BE84
accent
#D355C3
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E41A5

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

Preview Lab → · Contrast checker → · Palette generator →

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