#4E4C87#4E4C87

#4E4C87 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.7% C 0.095 H 283.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4E4C87
RGBrgb(78, 76, 135)
HSLhsl(242, 28%, 41%)
HSVhsv(242, 44%, 53%)
CMYKcmyk(42.2%, 43.7%, 0%, 47.1%)
CIE-LABlab(35.08, 16.65, -32.80)
CIE-LCHlch(35.08, 36.79, 296.91°)
OKLaboklab(44.68% 0.022 -0.0925)
OKLCHoklch(44.68% 0.095 283.4)
XYZxyz(10.0982, 8.5375, 24.0328)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4C87 #85874C
analogous
#4C6887 #4E4C87 #6C4C87
triadic
#4E4C87 #874E4C #4C874E
tetradic
#4E4C87 #874C68 #85874C #4C876C
square
#4E4C87 #874C68 #85874C #4C876C
split-complementary
#4E4C87 #876C4C #68874C
monochromatic
#212039 #373660 #4E4C87 #6967A9 #908EBF

Accessibility & contrast

On white

7.76
#4E4C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4E4C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4C87
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4C87#FFFFFF#000000##FFFFFF
##4E4C871.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#3D5863
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4e4c87;
/* rgb */ color: rgb(78, 76, 135);
/* oklch */ color: oklch(44.7% 0.095 283.4);
Tailwind
colors: {
  custom: {
    50: '#827eaa',
    500: '#4e4c87',
    950: '#000000',
  },
}
SCSS
$custom: #4e4c87;
$custom-light: #827eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4c87",
  "rgb": {
    "r": 78,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 242.034,
    "s": 27.962,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.09511,
    "h": 283.4
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#4E4C87
secondary
#AAAC83
accent
#C464C1
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4C87

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

Preview Lab → · Contrast checker → · Palette generator →

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