#4E478F#4E478F

#4E478F is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.2% C 0.115 H 285.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4E478F
RGBrgb(78, 71, 143)
HSLhsl(246, 34%, 42%)
HSVhsv(246, 50%, 56%)
CMYKcmyk(45.5%, 50.3%, 0%, 43.9%)
CIE-LABlab(34.21, 22.36, -39.09)
CIE-LCHlch(34.21, 45.03, 299.77°)
OKLaboklab(44.18% 0.0299 -0.1109)
OKLCHoklch(44.18% 0.115 285.1)
XYZxyz(10.3516, 8.1089, 27.0010)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E478F #888F47
analogous
#47648F #4E478F #72478F
triadic
#4E478F #8F4E47 #478F4E
tetradic
#4E478F #8F4764 #888F47 #478F72
square
#4E478F #8F4764 #888F47 #478F72
split-complementary
#4E478F #8F7247 #648F47
monochromatic
#211E3D #383366 #4E478F #6A62B1 #918BC5

Accessibility & contrast

On white

8.01
#4E478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4E478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E478F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E478F#FFFFFF#000000##FFFFFF
##4E478F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#264E8D
Tritanopia (blue-blind)
#3A5664
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e478f;
/* rgb */ color: rgb(78, 71, 143);
/* oklch */ color: oklch(44.2% 0.115 285.1);
Tailwind
colors: {
  custom: {
    50: '#847ab0',
    500: '#4e478f',
    950: '#000000',
  },
}
SCSS
$custom: #4e478f;
$custom-light: #847ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e478f",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 245.833,
    "s": 33.645,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.11491,
    "h": 285.1
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#4E478F
secondary
#ACB181
accent
#CA5EBF
background
#F8F7FA
surface
#EFEDF5
border
#CAC8CF
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E478F

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

Preview Lab → · Contrast checker → · Palette generator →

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