#4E4C78#4E4C78

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

Color values

HEX#4E4C78
RGBrgb(78, 76, 120)
HSLhsl(243, 22%, 38%)
HSVhsv(243, 37%, 47%)
CMYKcmyk(35%, 36.7%, 0%, 52.9%)
CIE-LABlab(34.28, 12.14, -24.79)
CIE-LCHlch(34.28, 27.60, 296.09°)
OKLaboklab(43.81% 0.0187 -0.0692)
OKLCHoklch(43.81% 0.072 285.1)
XYZxyz(9.1156, 8.1444, 18.8574)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C78 #76784C
analogous
#4C6078 #4E4C78 #644C78
triadic
#4E4C78 #784E4C #4C784E
tetradic
#4E4C78 #784C60 #76784C #4C7864
square
#4E4C78 #784C60 #76784C #4C7864
split-complementary
#4E4C78 #78644C #60784C
monochromatic
#1D1D2D #363453 #4E4C78 #67649D #8C8AB5

Accessibility & contrast

On white

7.99
#4E4C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4E4C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C78
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C78#FFFFFF#000000##FFFFFF
##4E4C781.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527A
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#43545C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4c78;
/* rgb */ color: rgb(78, 76, 120);
/* oklch */ color: oklch(43.8% 0.072 285.1);
Tailwind
colors: {
  custom: {
    50: '#817e9f',
    500: '#4e4c78',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c78;
$custom-light: #817e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c78",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 120
  },
  "hsl": {
    "h": 242.727,
    "s": 22.449,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.07171,
    "h": 285.1
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#4E4C78
secondary
#A0A17E
accent
#BF69BB
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4E4C78

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

Preview Lab → · Contrast checker → · Palette generator →

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