#4E3DA7#4E3DA7

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

Color values

HEX#4E3DA7
RGBrgb(78, 61, 167)
HSLhsl(250, 46%, 45%)
HSVhsv(250, 63%, 65%)
CMYKcmyk(53.3%, 63.5%, 0%, 34.5%)
CIE-LABlab(33.45, 36.17, -54.84)
CIE-LCHlch(33.45, 65.70, 303.41°)
OKLaboklab(44.15% 0.0418 -0.1573)
OKLCHoklch(44.15% 0.163 284.9)
XYZxyz(11.7836, 7.7466, 37.4261)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DA7 #96A73D
analogous
#3D61A7 #4E3DA7 #833DA7
triadic
#4E3DA7 #A74E3D #3DA74E
tetradic
#4E3DA7 #A73D61 #96A73D #3DA783
square
#4E3DA7 #A73D61 #96A73D #3DA783
split-complementary
#4E3DA7 #A7833D #61A73D
monochromatic
#241C4D #392D7A #4E3DA7 #6E5DC4 #968AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E3DA7#FFFFFF#000000##FFFFFF
##4E3DA71.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)
#0052AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#2A576C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3da7;
/* rgb */ color: rgb(78, 61, 167);
/* oklch */ color: oklch(44.2% 0.163 284.9);
Tailwind
colors: {
  custom: {
    50: '#8873c2',
    500: '#4e3da7',
    950: '#000000',
  },
}
SCSS
$custom: #4e3da7;
$custom-light: #8873c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3da7",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 249.623,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.16278,
    "h": 284.9
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#4E3DA7
secondary
#B5BF81
accent
#D652C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4E3DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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