#4E41A8#4E41A8

#4E41A8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.159 H 283.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4E41A8
RGBrgb(78, 65, 168)
HSLhsl(248, 44%, 46%)
HSVhsv(248, 61%, 66%)
CMYKcmyk(53.6%, 61.3%, 0%, 34.1%)
CIE-LABlab(34.45, 34.05, -53.81)
CIE-LCHlch(34.45, 63.68, 302.33°)
OKLaboklab(44.91% 0.0376 -0.1543)
OKLCHoklch(44.91% 0.159 283.7)
XYZxyz(12.0979, 8.2268, 37.9886)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A8 #9BA841
analogous
#4167A8 #4E41A8 #8141A8
triadic
#4E41A8 #A84E41 #41A84E
tetradic
#4E41A8 #A84167 #9BA841 #41A881
square
#4E41A8 #A84167 #9BA841 #41A881
split-complementary
#4E41A8 #A88141 #67A841
monochromatic
#251F50 #3A307C #4E41A8 #6F63C3 #9890D4

Accessibility & contrast

On white

7.94
#4E41A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E41A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41A8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A8#FFFFFF#000000##FFFFFF
##4E41A81.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#28596E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e41a8;
/* rgb */ color: rgb(78, 65, 168);
/* oklch */ color: oklch(44.9% 0.159 283.7);
Tailwind
colors: {
  custom: {
    50: '#8776c3',
    500: '#4e41a8',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a8;
$custom-light: #8776c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a8",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 247.573,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44909,
    "c": 0.1588,
    "h": 283.7
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#4E41A8
secondary
#B8BF86
accent
#D454C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E41A8

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

Preview Lab → · Contrast checker → · Palette generator →

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