#4E41A9#4E41A9

#4E41A9 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.160 H 283.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4E41A9
RGBrgb(78, 65, 169)
HSLhsl(248, 44%, 46%)
HSVhsv(248, 62%, 66%)
CMYKcmyk(53.8%, 61.5%, 0%, 33.7%)
CIE-LABlab(34.53, 34.37, -54.29)
CIE-LCHlch(34.53, 64.25, 302.34°)
OKLaboklab(44.99% 0.0376 -0.1557)
OKLCHoklch(44.99% 0.16 283.6)
XYZxyz(12.1914, 8.2642, 38.4812)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A9 #9CA941
analogous
#4168A9 #4E41A9 #8241A9
triadic
#4E41A9 #A94E41 #41A94E
tetradic
#4E41A9 #A94168 #9CA941 #41A982
square
#4E41A9 #A94168 #9CA941 #41A982
split-complementary
#4E41A9 #A98241 #68A941
monochromatic
#251F51 #3A307D #4E41A9 #7064C3 #9990D4

Accessibility & contrast

On white

7.92
#4E41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E41A9
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A9#FFFFFF#000000##FFFFFF
##4E41A91.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#275A6F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e41a9;
/* rgb */ color: rgb(78, 65, 169);
/* oklch */ color: oklch(45.0% 0.160 283.6);
Tailwind
colors: {
  custom: {
    50: '#8876c3',
    500: '#4e41a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a9;
$custom-light: #8876c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a9",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 247.5,
    "s": 44.444,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44989,
    "c": 0.16014,
    "h": 283.6
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#4E41A9
secondary
#B8C086
accent
#D454C4
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E41A9

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

Preview Lab → · Contrast checker → · Palette generator →

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