#4E3DA5#4E3DA5

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

Color values

HEX#4E3DA5
RGBrgb(78, 61, 165)
HSLhsl(250, 46%, 44%)
HSVhsv(250, 63%, 65%)
CMYKcmyk(52.7%, 63%, 0%, 35.3%)
CIE-LABlab(33.29, 35.55, -53.90)
CIE-LCHlch(33.29, 64.56, 303.41°)
OKLaboklab(43.99% 0.042 -0.1545)
OKLCHoklch(43.99% 0.16 285.2)
XYZxyz(11.6001, 7.6732, 36.4599)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DA5 #94A53D
analogous
#3D60A5 #4E3DA5 #823DA5
triadic
#4E3DA5 #A54E3D #3DA54E
tetradic
#4E3DA5 #A53D60 #94A53D #3DA582
square
#4E3DA5 #A53D60 #94A53D #3DA582
split-complementary
#4E3DA5 #A5823D #60A53D
monochromatic
#241C4C #392C78 #4E3DA5 #6D5CC3 #9589D3

Accessibility & contrast

On white

8.28
#4E3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3DA5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DA5#FFFFFF#000000##FFFFFF
##4E3DA51.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#2C566B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e3da5;
/* rgb */ color: rgb(78, 61, 165);
/* oklch */ color: oklch(44.0% 0.160 285.2);
Tailwind
colors: {
  custom: {
    50: '#8773c0',
    500: '#4e3da5',
    950: '#000000',
  },
}
SCSS
$custom: #4e3da5;
$custom-light: #8773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3da5",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 249.808,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.16013,
    "h": 285.2
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#4E3DA5
secondary
#B4BE80
accent
#D652C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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