#4E478D#4E478D

#4E478D is a dark, moderate blue. Relative luminance 0.080; OKLCH L 44.0% C 0.112 H 285.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4E478D
RGBrgb(78, 71, 141)
HSLhsl(246, 33%, 42%)
HSVhsv(246, 50%, 55%)
CMYKcmyk(44.7%, 49.6%, 0%, 44.7%)
CIE-LABlab(34.08, 21.74, -38.06)
CIE-LCHlch(34.08, 43.83, 299.73°)
OKLaboklab(44.04% 0.0297 -0.1079)
OKLCHoklch(44.04% 0.112 285.4)
XYZxyz(10.2015, 8.0489, 26.2102)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E478D #868D47
analogous
#47638D #4E478D #71478D
triadic
#4E478D #8D4E47 #478D4E
tetradic
#4E478D #8D4763 #868D47 #478D71
square
#4E478D #8D4763 #868D47 #478D71
split-complementary
#4E478D #8D7147 #638D47
monochromatic
#211E3C #373364 #4E478D #6962B0 #908AC4

Accessibility & contrast

On white

8.05
#4E478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4E478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E478D
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E478D#FFFFFF#000000##FFFFFF
##4E478D1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#3B5663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e478d;
/* rgb */ color: rgb(78, 71, 141);
/* oklch */ color: oklch(44.0% 0.112 285.4);
Tailwind
colors: {
  custom: {
    50: '#837aaf',
    500: '#4e478d',
    950: '#000000',
  },
}
SCSS
$custom: #4e478d;
$custom-light: #837aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e478d",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 246,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.11195,
    "h": 285.4
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#4E478D
secondary
#ABB080
accent
#C95FBE
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E478D

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

Preview Lab → · Contrast checker → · Palette generator →

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