#4E41A2#4E41A2

#4E41A2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.151 H 284.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4E41A2
RGBrgb(78, 65, 162)
HSLhsl(248, 43%, 45%)
HSVhsv(248, 60%, 64%)
CMYKcmyk(51.9%, 59.9%, 0%, 36.5%)
CIE-LABlab(34.00, 32.15, -50.94)
CIE-LCHlch(34.00, 60.24, 302.26°)
OKLaboklab(44.44% 0.0379 -0.1458)
OKLCHoklch(44.44% 0.151 284.5)
XYZxyz(11.5518, 8.0083, 35.1125)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E41A2 #95A241
analogous
#4165A2 #4E41A2 #7F41A2
triadic
#4E41A2 #A24E41 #41A24E
tetradic
#4E41A2 #A24165 #95A241 #41A27F
square
#4E41A2 #A24165 #95A241 #41A27F
split-complementary
#4E41A2 #A27F41 #65A241
monochromatic
#241E4B #392F76 #4E41A2 #6D61BF #968CD1

Accessibility & contrast

On white

8.07
#4E41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E41A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E41A2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E41A2#FFFFFF#000000##FFFFFF
##4E41A21.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#2E586B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e41a2;
/* rgb */ color: rgb(78, 65, 162);
/* oklch */ color: oklch(44.4% 0.151 284.5);
Tailwind
colors: {
  custom: {
    50: '#8776be',
    500: '#4e41a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e41a2;
$custom-light: #8776be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e41a2",
  "rgb": {
    "r": 78,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 248.041,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44436,
    "c": 0.15066,
    "h": 284.5
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#4E41A2
secondary
#B4BC83
accent
#D355C2
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E41A2

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

Preview Lab → · Contrast checker → · Palette generator →

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