#4C4E87#4C4E87

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

Color values

HEX#4C4E87
RGBrgb(76, 78, 135)
HSLhsl(238, 28%, 41%)
HSVhsv(238, 44%, 53%)
CMYKcmyk(43.7%, 42.2%, 0%, 47.1%)
CIE-LABlab(35.47, 14.80, -32.20)
CIE-LCHlch(35.47, 35.44, 294.69°)
OKLaboklab(44.94% 0.0168 -0.0908)
OKLCHoklch(44.94% 0.092 280.5)
XYZxyz(10.0768, 8.7341, 24.0719)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4E87 #87854C
analogous
#4C6C87 #4C4E87 #684C87
triadic
#4C4E87 #874C4E #4E874C
tetradic
#4C4E87 #874C6C #87854C #4C8768
square
#4C4E87 #874C6C #87854C #4C8768
split-complementary
#4C4E87 #87684C #6C874C
monochromatic
#202139 #363760 #4C4E87 #6769A9 #8E90BF

Accessibility & contrast

On white

7.64
#4C4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4C4E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4E87
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4E87#FFFFFF#000000##FFFFFF
##4C4E871.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395689
Deuteranopia (green-blind)
#365186
Tritanopia (blue-blind)
#395964
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c4e87;
/* rgb */ color: rgb(76, 78, 135);
/* oklch */ color: oklch(44.9% 0.092 280.5);
Tailwind
colors: {
  custom: {
    50: '#817faa',
    500: '#4c4e87',
    950: '#000000',
  },
}
SCSS
$custom: #4c4e87;
$custom-light: #817faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4e87",
  "rgb": {
    "r": 76,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 237.966,
    "s": 27.962,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.09234,
    "h": 280.5
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#4C4E87
secondary
#ACAA83
accent
#C164C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #4C4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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