#4E3EA3#4E3EA3

#4E3EA3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.156 H 285.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4E3EA3
RGBrgb(78, 62, 163)
HSLhsl(250, 45%, 44%)
HSVhsv(250, 62%, 64%)
CMYKcmyk(52.1%, 62%, 0%, 36.1%)
CIE-LABlab(33.37, 34.31, -52.57)
CIE-LCHlch(33.37, 62.78, 303.13°)
OKLaboklab(44% 0.0411 -0.1506)
OKLCHoklch(44% 0.156 285.3)
XYZxyz(11.4734, 7.7087, 35.5266)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3EA3 #93A33E
analogous
#3E61A3 #4E3EA3 #813EA3
triadic
#4E3EA3 #A34E3E #3EA34E
tetradic
#4E3EA3 #A33E61 #93A33E #3EA381
square
#4E3EA3 #A33E61 #93A33E #3EA381
split-complementary
#4E3EA3 #A3813E #61A33E
monochromatic
#241C4A #392D77 #4E3EA3 #6D5DC1 #9589D2

Accessibility & contrast

On white

8.26
#4E3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4E3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3EA3
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3EA3#FFFFFF#000000##FFFFFF
##4E3EA31.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#2D566A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3ea3;
/* rgb */ color: rgb(78, 62, 163);
/* oklch */ color: oklch(44.0% 0.156 285.3);
Tailwind
colors: {
  custom: {
    50: '#8774bf',
    500: '#4e3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4e3ea3;
$custom-light: #8774bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3ea3",
  "rgb": {
    "r": 78,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 249.505,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43997,
    "c": 0.15613,
    "h": 285.3
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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