#4E4386#4E4386

#4E4386 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.8% C 0.108 H 288.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4E4386
RGBrgb(78, 67, 134)
HSLhsl(250, 33%, 39%)
HSVhsv(250, 50%, 53%)
CMYKcmyk(41.8%, 50%, 0%, 47.5%)
CIE-LABlab(32.60, 22.15, -36.12)
CIE-LCHlch(32.60, 42.37, 301.52°)
OKLaboklab(42.79% 0.0343 -0.1023)
OKLCHoklch(42.79% 0.108 288.5)
XYZxyz(9.4509, 7.3549, 23.4713)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4386 #7B8643
analogous
#435A86 #4E4386 #704386
triadic
#4E4386 #864E43 #43864E
tetradic
#4E4386 #86435A #7B8643 #438670
square
#4E4386 #86435A #7B8643 #438670
split-complementary
#4E4386 #867043 #5A8643
monochromatic
#1F1A34 #362F5D #4E4386 #675AAC #8D83C1

Accessibility & contrast

On white

8.50
#4E4386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4E4386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4386
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4386#FFFFFF#000000##FFFFFF
##4E43861.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#3E515E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4e4386;
/* rgb */ color: rgb(78, 67, 134);
/* oklch */ color: oklch(42.8% 0.108 288.5);
Tailwind
colors: {
  custom: {
    50: '#8377aa',
    500: '#4e4386',
    950: '#000000',
  },
}
SCSS
$custom: #4e4386;
$custom-light: #8377aa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4386",
  "rgb": {
    "r": 78,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 249.851,
    "s": 33.333,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.10786,
    "h": 288.5
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#4E4386
secondary
#A3AC79
accent
#C95EB8
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #4E4386

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

Preview Lab → · Contrast checker → · Palette generator →

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