#4E478E#4E478E

#4E478E is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.1% C 0.113 H 285.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4E478E
RGBrgb(78, 71, 142)
HSLhsl(246, 33%, 42%)
HSVhsv(246, 50%, 56%)
CMYKcmyk(45.1%, 50%, 0%, 44.3%)
CIE-LABlab(34.15, 22.05, -38.57)
CIE-LCHlch(34.15, 44.43, 299.75°)
OKLaboklab(44.11% 0.0298 -0.1094)
OKLCHoklch(44.11% 0.113 285.2)
XYZxyz(10.2762, 8.0787, 26.6038)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E478E #878E47
analogous
#47648E #4E478E #72478E
triadic
#4E478E #8E4E47 #478E4E
tetradic
#4E478E #8E4764 #878E47 #478E72
square
#4E478E #8E4764 #878E47 #478E72
split-complementary
#4E478E #8E7247 #648E47
monochromatic
#211E3C #383365 #4E478E #6A62B0 #908BC5

Accessibility & contrast

On white

8.03
#4E478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E478E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E478E#FFFFFF#000000##FFFFFF
##4E478E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#3A5664
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e478e;
/* rgb */ color: rgb(78, 71, 142);
/* oklch */ color: oklch(44.1% 0.113 285.2);
Tailwind
colors: {
  custom: {
    50: '#837aaf',
    500: '#4e478e',
    950: '#000000',
  },
}
SCSS
$custom: #4e478e;
$custom-light: #837aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e478e",
  "rgb": {
    "r": 78,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 245.915,
    "s": 33.333,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4411,
    "c": 0.11343,
    "h": 285.2
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#4E478E
secondary
#ACB080
accent
#C95EBF
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E478E

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

Preview Lab → · Contrast checker → · Palette generator →

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