#4E4D87#4E4D87

#4E4D87 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.9% C 0.094 H 282.7°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E4D87
RGBrgb(78, 77, 135)
HSLhsl(241, 27%, 42%)
HSVhsv(241, 43%, 53%)
CMYKcmyk(42.2%, 43%, 0%, 47.1%)
CIE-LABlab(35.35, 16.00, -32.37)
CIE-LCHlch(35.35, 36.11, 296.31°)
OKLaboklab(44.89% 0.0206 -0.0912)
OKLCHoklch(44.89% 0.094 282.7)
XYZxyz(10.1677, 8.6763, 24.0559)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4D87 #86874D
analogous
#4D6987 #4E4D87 #6B4D87
triadic
#4E4D87 #874E4D #4D874E
tetradic
#4E4D87 #874D69 #86874D #4D876B
square
#4E4D87 #874D69 #86874D #4D876B
split-complementary
#4E4D87 #876B4D #69874D
monochromatic
#212139 #373760 #4E4D87 #6968A9 #908FBF

Accessibility & contrast

On white

7.68
#4E4D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E4D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4D87
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4D87#FFFFFF#000000##FFFFFF
##4E4D871.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#365186
Tritanopia (blue-blind)
#3D5963
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e4d87;
/* rgb */ color: rgb(78, 77, 135);
/* oklch */ color: oklch(44.9% 0.094 282.7);
Tailwind
colors: {
  custom: {
    50: '#827eaa',
    500: '#4e4d87',
    950: '#000000',
  },
}
SCSS
$custom: #4e4d87;
$custom-light: #827eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4d87",
  "rgb": {
    "r": 78,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 241.034,
    "s": 27.358,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.09355,
    "h": 282.7
  },
  "luminance": 0.08677
}

Semantic roles & 50–950 ramp

primary
#4E4D87
secondary
#ABAC84
accent
#C464C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4E4D87

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

Preview Lab → · Contrast checker → · Palette generator →

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