#4E41A0#4E41A0

#4E41A0 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.148 H 284.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4E41A0
RGBrgb(78, 65, 160)
HSLhsl(248, 42%, 44%)
HSVhsv(248, 59%, 63%)
CMYKcmyk(51.2%, 59.4%, 0%, 37.3%)
CIE-LABlab(33.85, 31.52, -49.98)
CIE-LCHlch(33.85, 59.09, 302.24°)
OKLaboklab(44.28% 0.0379 -0.143)
OKLCHoklch(44.28% 0.148 284.8)
XYZxyz(11.3755, 7.9378, 34.1836)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A0 #93A041
analogous
#4164A0 #4E41A0 #7E41A0
triadic
#4E41A0 #A04E41 #41A04E
tetradic
#4E41A0 #A04164 #93A041 #41A07E
square
#4E41A0 #A04164 #93A041 #41A07E
split-complementary
#4E41A0 #A07E41 #64A041
monochromatic
#241E49 #392F74 #4E41A0 #6D60BE #958BD0

Accessibility & contrast

On white

8.12
#4E41A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E41A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41A0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A0#FFFFFF#000000##FFFFFF
##4E41A01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#2F576A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e41a0;
/* rgb */ color: rgb(78, 65, 160);
/* oklch */ color: oklch(44.3% 0.148 284.8);
Tailwind
colors: {
  custom: {
    50: '#8676bd',
    500: '#4e41a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a0;
$custom-light: #8676bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a0",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 248.211,
    "s": 42.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44281,
    "c": 0.14793,
    "h": 284.8
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#4E41A0
secondary
#B3BB82
accent
#D256C1
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E41A0

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

Preview Lab → · Contrast checker → · Palette generator →

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