#4E478C#4E478C

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

Color values

HEX#4E478C
RGBrgb(78, 71, 140)
HSLhsl(246, 33%, 41%)
HSVhsv(246, 49%, 55%)
CMYKcmyk(44.3%, 49.3%, 0%, 45.1%)
CIE-LABlab(34.02, 21.43, -37.55)
CIE-LCHlch(34.02, 43.23, 299.71°)
OKLaboklab(43.98% 0.0296 -0.1064)
OKLCHoklch(43.98% 0.11 285.5)
XYZxyz(10.1274, 8.0192, 25.8201)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E478C #858C47
analogous
#47638C #4E478C #71478C
triadic
#4E478C #8C4E47 #478C4E
tetradic
#4E478C #8C4763 #858C47 #478C71
square
#4E478C #8C4763 #858C47 #478C71
split-complementary
#4E478C #8C7147 #638C47
monochromatic
#211E3B #373263 #4E478C #6961AF #908AC4

Accessibility & contrast

On white

8.06
#4E478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E478C
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E478C#FFFFFF#000000##FFFFFF
##4E478C1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#3B5563
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e478c;
/* rgb */ color: rgb(78, 71, 140);
/* oklch */ color: oklch(44.0% 0.110 285.5);
Tailwind
colors: {
  custom: {
    50: '#837aae',
    500: '#4e478c',
    950: '#000000',
  },
}
SCSS
$custom: #4e478c;
$custom-light: #837aae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e478c",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 246.087,
    "s": 32.701,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.11046,
    "h": 285.5
  },
  "luminance": 0.0802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E478C

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

Preview Lab → · Contrast checker → · Palette generator →

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