#4E41A3#4E41A3

#4E41A3 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.152 H 284.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4E41A3
RGBrgb(78, 65, 163)
HSLhsl(248, 43%, 45%)
HSVhsv(248, 60%, 64%)
CMYKcmyk(52.1%, 60.1%, 0%, 36.1%)
CIE-LABlab(34.07, 32.47, -51.42)
CIE-LCHlch(34.07, 60.82, 302.27°)
OKLaboklab(44.51% 0.0378 -0.1472)
OKLCHoklch(44.51% 0.152 284.4)
XYZxyz(11.6411, 8.0440, 35.5825)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A3 #96A341
analogous
#4165A3 #4E41A3 #7F41A3
triadic
#4E41A3 #A34E41 #41A34E
tetradic
#4E41A3 #A34165 #96A341 #41A37F
square
#4E41A3 #A34165 #96A341 #41A37F
split-complementary
#4E41A3 #A37F41 #65A341
monochromatic
#241E4B #393077 #4E41A3 #6E61C0 #968DD1

Accessibility & contrast

On white

8.05
#4E41A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E41A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41A3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A3#FFFFFF#000000##FFFFFF
##4E41A31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#2D586B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e41a3;
/* rgb */ color: rgb(78, 65, 163);
/* oklch */ color: oklch(44.5% 0.152 284.4);
Tailwind
colors: {
  custom: {
    50: '#8776bf',
    500: '#4e41a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a3;
$custom-light: #8776bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a3",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 247.959,
    "s": 42.982,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.15203,
    "h": 284.4
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E41A3

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

Preview Lab → · Contrast checker → · Palette generator →

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