#4E3EA4#4E3EA4

#4E3EA4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.157 H 285.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#4E3EA4
RGBrgb(78, 62, 164)
HSLhsl(249, 45%, 44%)
HSVhsv(249, 62%, 64%)
CMYKcmyk(52.4%, 62.2%, 0%, 35.7%)
CIE-LABlab(33.45, 34.63, -53.05)
CIE-LCHlch(33.45, 63.35, 303.13°)
OKLaboklab(44.08% 0.041 -0.152)
OKLCHoklch(44.08% 0.157 285.1)
XYZxyz(11.5633, 7.7447, 36.0003)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EA4 #94A43E
analogous
#3E61A4 #4E3EA4 #813EA4
triadic
#4E3EA4 #A44E3E #3EA44E
tetradic
#4E3EA4 #A43E61 #94A43E #3EA481
square
#4E3EA4 #A43E61 #94A43E #3EA481
split-complementary
#4E3EA4 #A4813E #61A43E
monochromatic
#241C4B #392D78 #4E3EA4 #6D5DC2 #958AD3

Accessibility & contrast

On white

8.24
#4E3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4E3EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EA4
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EA4#FFFFFF#000000##FFFFFF
##4E3EA41.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#2C566B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3ea4;
/* rgb */ color: rgb(78, 62, 164);
/* oklch */ color: oklch(44.1% 0.157 285.1);
Tailwind
colors: {
  custom: {
    50: '#8774c0',
    500: '#4e3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ea4;
$custom-light: #8774c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ea4",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 249.412,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.15746,
    "h": 285.1
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#4E3EA4
secondary
#B4BD81
accent
#D553C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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