#4E4A87#4E4A87

#4E4A87 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.3% C 0.098 H 284.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4E4A87
RGBrgb(78, 74, 135)
HSLhsl(244, 29%, 41%)
HSVhsv(244, 45%, 53%)
CMYKcmyk(42.2%, 45.2%, 0%, 47.1%)
CIE-LABlab(34.53, 17.94, -33.67)
CIE-LCHlch(34.53, 38.15, 298.05°)
OKLaboklab(44.27% 0.0248 -0.0951)
OKLCHoklch(44.27% 0.098 284.6)
XYZxyz(9.9626, 8.2662, 23.9876)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4A87 #83874A
analogous
#4A6487 #4E4A87 #6C4A87
triadic
#4E4A87 #874E4A #4A874E
tetradic
#4E4A87 #874A64 #83874A #4A876C
square
#4E4A87 #874A64 #83874A #4A876C
split-complementary
#4E4A87 #876C4A #64874A
monochromatic
#201F38 #37345F #4E4A87 #6964AA #8F8CC0

Accessibility & contrast

On white

7.91
#4E4A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4E4A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4A87
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4A87#FFFFFF#000000##FFFFFF
##4E4A871.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#324F86
Tritanopia (blue-blind)
#3D5662
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4e4a87;
/* rgb */ color: rgb(78, 74, 135);
/* oklch */ color: oklch(44.3% 0.098 284.6);
Tailwind
colors: {
  custom: {
    50: '#827caa',
    500: '#4e4a87',
    950: '#000000',
  },
}
SCSS
$custom: #4e4a87;
$custom-light: #827caa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4a87",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 243.934,
    "s": 29.187,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44265,
    "c": 0.09825,
    "h": 284.6
  },
  "luminance": 0.08267
}

Semantic roles & 50–950 ramp

primary
#4E4A87
secondary
#A9AC81
accent
#C562BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F

Preview Lab

Preview with #4E4A87

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

Preview Lab → · Contrast checker → · Palette generator →

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