#4E3DA4#4E3DA4

#4E3DA4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.159 H 285.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4E3DA4
RGBrgb(78, 61, 164)
HSLhsl(250, 46%, 44%)
HSVhsv(250, 63%, 64%)
CMYKcmyk(52.4%, 62.8%, 0%, 35.7%)
CIE-LABlab(33.21, 35.23, -53.42)
CIE-LCHlch(33.21, 63.99, 303.41°)
OKLaboklab(43.91% 0.0421 -0.1531)
OKLCHoklch(43.91% 0.159 285.4)
XYZxyz(11.5095, 7.6369, 35.9824)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DA4 #93A43D
analogous
#3D60A4 #4E3DA4 #823DA4
triadic
#4E3DA4 #A44E3D #3DA44E
tetradic
#4E3DA4 #A43D60 #93A43D #3DA482
square
#4E3DA4 #A43D60 #93A43D #3DA482
split-complementary
#4E3DA4 #A4823D #60A43D
monochromatic
#241C4B #392C77 #4E3DA4 #6D5CC2 #9588D3

Accessibility & contrast

On white

8.31
#4E3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4E3DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3DA4
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DA4#FFFFFF#000000##FFFFFF
##4E3DA41.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#2C566A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3da4;
/* rgb */ color: rgb(78, 61, 164);
/* oklch */ color: oklch(43.9% 0.159 285.4);
Tailwind
colors: {
  custom: {
    50: '#8773c0',
    500: '#4e3da4',
    950: '#000000',
  },
}
SCSS
$custom: #4e3da4;
$custom-light: #8773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3da4",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 249.903,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43909,
    "c": 0.1588,
    "h": 285.4
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#4E3DA4
secondary
#B3BD7F
accent
#D552C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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