#4E41A6#4E41A6

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

Color values

HEX#4E41A6
RGBrgb(78, 65, 166)
HSLhsl(248, 44%, 45%)
HSVhsv(248, 61%, 65%)
CMYKcmyk(53%, 60.8%, 0%, 34.9%)
CIE-LABlab(34.30, 33.42, -52.86)
CIE-LCHlch(34.30, 62.54, 302.30°)
OKLaboklab(44.75% 0.0377 -0.1515)
OKLCHoklch(44.75% 0.156 284)
XYZxyz(11.9130, 8.1528, 37.0149)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A6 #99A641
analogous
#4166A6 #4E41A6 #8141A6
triadic
#4E41A6 #A64E41 #41A64E
tetradic
#4E41A6 #A64166 #99A641 #41A681
square
#4E41A6 #A64166 #99A641 #41A681
split-complementary
#4E41A6 #A68141 #66A641
monochromatic
#251F4E #39307A #4E41A6 #6F62C2 #978ED3

Accessibility & contrast

On white

7.98
#4E41A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E41A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41A6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A6#FFFFFF#000000##FFFFFF
##4E41A61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#2A596D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e41a6;
/* rgb */ color: rgb(78, 65, 166);
/* oklch */ color: oklch(44.8% 0.156 284.0);
Tailwind
colors: {
  custom: {
    50: '#8776c1',
    500: '#4e41a6',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a6;
$custom-light: #8776c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a6",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 247.723,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4475,
    "c": 0.1561,
    "h": 284
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#4E41A6
secondary
#B7BE85
accent
#D354C3
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E41A6

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

Preview Lab → · Contrast checker → · Palette generator →

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