#4E5478#4E5478

#4E5478 is a mid, muted blue. Relative luminance 0.093; OKLCH L 45.6% C 0.059 H 276.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4E5478
RGBrgb(78, 84, 120)
HSLhsl(231, 21%, 39%)
HSVhsv(231, 35%, 47%)
CMYKcmyk(35%, 30%, 0%, 52.9%)
CIE-LABlab(36.59, 7.01, -21.20)
CIE-LCHlch(36.59, 22.33, 288.29°)
OKLaboklab(45.59% 0.0067 -0.0589)
OKLCHoklch(45.59% 0.059 276.5)
XYZxyz(9.7014, 9.3161, 19.0527)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5478 #78724E
analogous
#4E6978 #4E5478 #5D4E78
triadic
#4E5478 #784E54 #54784E
tetradic
#4E5478 #784E69 #78724E #4E785D
square
#4E5478 #784E69 #78724E #4E785D
split-complementary
#4E5478 #785D4E #69784E
monochromatic
#1E202E #363A53 #4E5478 #676F9C #8C92B4

Accessibility & contrast

On white

7.33
#4E5478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4E5478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5478
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5478#FFFFFF#000000##FFFFFF
##4E54781.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#425B61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5478;
/* rgb */ color: rgb(78, 84, 120);
/* oklch */ color: oklch(45.6% 0.059 276.5);
Tailwind
colors: {
  custom: {
    50: '#81849f',
    500: '#4e5478',
    950: '#000000',
  },
}
SCSS
$custom: #4e5478;
$custom-light: #81849f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5478",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 231.429,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45588,
    "c": 0.05929,
    "h": 276.5
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#4E5478
secondary
#A19D81
accent
#B26ABE
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #4E5478

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

Preview Lab → · Contrast checker → · Palette generator →

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