#4E478A#4E478A

#4E478A is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.8% C 0.107 H 285.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#4E478A
RGBrgb(78, 71, 138)
HSLhsl(246, 32%, 41%)
HSVhsv(246, 49%, 54%)
CMYKcmyk(43.5%, 48.6%, 0%, 45.9%)
CIE-LABlab(33.90, 20.80, -36.51)
CIE-LCHlch(33.90, 42.03, 299.67°)
OKLaboklab(43.85% 0.0293 -0.1034)
OKLCHoklch(43.85% 0.107 285.8)
XYZxyz(9.9813, 7.9608, 25.0505)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E478A #838A47
analogous
#47618A #4E478A #6F478A
triadic
#4E478A #8A4E47 #478A4E
tetradic
#4E478A #8A4761 #838A47 #478A6F
square
#4E478A #8A4761 #838A47 #478A6F
split-complementary
#4E478A #8A6F47 #618A47
monochromatic
#201D39 #373262 #4E478A #6961AE #8F89C2

Accessibility & contrast

On white

8.10
#4E478A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4E478A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E478A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E478A#FFFFFF#000000##FFFFFF
##4E478A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#2B4E88
Tritanopia (blue-blind)
#3C5562
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e478a;
/* rgb */ color: rgb(78, 71, 138);
/* oklch */ color: oklch(43.8% 0.107 285.8);
Tailwind
colors: {
  custom: {
    50: '#837aac',
    500: '#4e478a',
    950: '#000000',
  },
}
SCSS
$custom: #4e478a;
$custom-light: #837aac;
$custom-dark: #000000;
JSON
{
  "hex": "#4e478a",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 246.269,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.10749,
    "h": 285.8
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#4E478A
secondary
#A9AE7F
accent
#C860BD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E478A

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

Preview Lab → · Contrast checker → · Palette generator →

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