#4E41A4#4E41A4

#4E41A4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.153 H 284.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4E41A4
RGBrgb(78, 65, 164)
HSLhsl(248, 43%, 45%)
HSVhsv(248, 60%, 64%)
CMYKcmyk(52.4%, 60.4%, 0%, 35.7%)
CIE-LABlab(34.15, 32.79, -51.90)
CIE-LCHlch(34.15, 61.39, 302.28°)
OKLaboklab(44.59% 0.0378 -0.1487)
OKLCHoklch(44.59% 0.153 284.3)
XYZxyz(11.7310, 8.0800, 36.0562)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A4 #97A441
analogous
#4165A4 #4E41A4 #8041A4
triadic
#4E41A4 #A44E41 #41A44E
tetradic
#4E41A4 #A44165 #97A441 #41A480
square
#4E41A4 #A44165 #97A441 #41A480
split-complementary
#4E41A4 #A48041 #65A441
monochromatic
#241E4C #393078 #4E41A4 #6E62C1 #968DD2

Accessibility & contrast

On white

8.03
#4E41A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E41A4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A4#FFFFFF#000000##FFFFFF
##4E41A41.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#2C586C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e41a4;
/* rgb */ color: rgb(78, 65, 164);
/* oklch */ color: oklch(44.6% 0.153 284.3);
Tailwind
colors: {
  custom: {
    50: '#8776c0',
    500: '#4e41a4',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a4;
$custom-light: #8776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a4",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 247.879,
    "s": 43.231,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44593,
    "c": 0.15339,
    "h": 284.3
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#4E41A4
secondary
#B6BD84
accent
#D355C2
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E41A4

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

Preview Lab → · Contrast checker → · Palette generator →

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