#4E41A7#4E41A7

#4E41A7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.157 H 283.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4E41A7
RGBrgb(78, 65, 167)
HSLhsl(248, 44%, 45%)
HSVhsv(248, 61%, 65%)
CMYKcmyk(53.3%, 61.1%, 0%, 34.5%)
CIE-LABlab(34.37, 33.74, -53.34)
CIE-LCHlch(34.37, 63.11, 302.31°)
OKLaboklab(44.83% 0.0377 -0.1529)
OKLCHoklch(44.83% 0.157 283.8)
XYZxyz(12.0051, 8.1897, 37.4999)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A7 #9AA741
analogous
#4167A7 #4E41A7 #8141A7
triadic
#4E41A7 #A74E41 #41A74E
tetradic
#4E41A7 #A74167 #9AA741 #41A781
square
#4E41A7 #A74167 #9AA741 #41A781
split-complementary
#4E41A7 #A78141 #67A741
monochromatic
#251F4F #39307B #4E41A7 #6F63C2 #988FD3

Accessibility & contrast

On white

7.96
#4E41A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4E41A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41A7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A7#FFFFFF#000000##FFFFFF
##4E41A71.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#29596D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e41a7;
/* rgb */ color: rgb(78, 65, 167);
/* oklch */ color: oklch(44.8% 0.157 283.8);
Tailwind
colors: {
  custom: {
    50: '#8776c2',
    500: '#4e41a7',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a7;
$custom-light: #8776c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a7",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 247.647,
    "s": 43.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4483,
    "c": 0.15745,
    "h": 283.8
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#4E41A7
secondary
#B7BF85
accent
#D454C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E41A7

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

Preview Lab → · Contrast checker → · Palette generator →

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