#4E4387#4E4387

#4E4387 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.9% C 0.109 H 288.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4E4387
RGBrgb(78, 67, 135)
HSLhsl(250, 34%, 40%)
HSVhsv(250, 50%, 53%)
CMYKcmyk(42.2%, 50.4%, 0%, 47.1%)
CIE-LABlab(32.66, 22.46, -36.64)
CIE-LCHlch(32.66, 42.98, 301.50°)
OKLaboklab(42.86% 0.0344 -0.1038)
OKLCHoklch(42.86% 0.109 288.3)
XYZxyz(9.5210, 7.3830, 23.8404)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4387 #7C8743
analogous
#435A87 #4E4387 #704387
triadic
#4E4387 #874E43 #43874E
tetradic
#4E4387 #87435A #7C8743 #438770
square
#4E4387 #87435A #7C8743 #438770
split-complementary
#4E4387 #877043 #5A8743
monochromatic
#1F1A35 #362F5E #4E4387 #675AAD #8D83C1

Accessibility & contrast

On white

8.48
#4E4387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4E4387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4387
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4387#FFFFFF#000000##FFFFFF
##4E43871.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#3E515E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4387;
/* rgb */ color: rgb(78, 67, 135);
/* oklch */ color: oklch(42.9% 0.109 288.3);
Tailwind
colors: {
  custom: {
    50: '#8377aa',
    500: '#4e4387',
    950: '#000000',
  },
}
SCSS
$custom: #4e4387;
$custom-light: #8377aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4387",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 249.706,
    "s": 33.663,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.10935,
    "h": 288.3
  },
  "luminance": 0.07383
}

Semantic roles & 50–950 ramp

primary
#4E4387
secondary
#A4AC79
accent
#CA5EB8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4387

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

Preview Lab → · Contrast checker → · Palette generator →

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