#4E3DA8#4E3DA8

#4E3DA8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.164 H 284.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4E3DA8
RGBrgb(78, 61, 168)
HSLhsl(250, 47%, 45%)
HSVhsv(250, 64%, 66%)
CMYKcmyk(53.6%, 63.7%, 0%, 34.1%)
CIE-LABlab(33.53, 36.48, -55.31)
CIE-LCHlch(33.53, 66.26, 303.41°)
OKLaboklab(44.24% 0.0418 -0.1587)
OKLCHoklch(44.24% 0.164 284.7)
XYZxyz(11.8764, 7.7837, 37.9148)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3DA8 #97A83D
analogous
#3D61A8 #4E3DA8 #843DA8
triadic
#4E3DA8 #A84E3D #3DA84E
tetradic
#4E3DA8 #A83D61 #97A83D #3DA884
square
#4E3DA8 #A83D61 #97A83D #3DA884
split-complementary
#4E3DA8 #A8843D #61A83D
monochromatic
#241C4E #392D7B #4E3DA8 #6E5EC4 #968BD5

Accessibility & contrast

On white

8.21
#4E3DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4E3DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3DA8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3DA8#FFFFFF#000000##FFFFFF
##4E3DA81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#29576D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4e3da8;
/* rgb */ color: rgb(78, 61, 168);
/* oklch */ color: oklch(44.2% 0.164 284.7);
Tailwind
colors: {
  custom: {
    50: '#8873c3',
    500: '#4e3da8',
    950: '#000000',
  },
}
SCSS
$custom: #4e3da8;
$custom-light: #8873c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3da8",
  "rgb": {
    "r": 78,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 249.533,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.1641,
    "h": 284.7
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#4E3DA8
secondary
#B6BF81
accent
#D651C1
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4E3DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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