#4C4980#4C4980

#4C4980 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.5% C 0.089 H 284.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4C4980
RGBrgb(76, 73, 128)
HSLhsl(243, 27%, 39%)
HSVhsv(243, 43%, 50%)
CMYKcmyk(40.6%, 43%, 0%, 49.8%)
CIE-LABlab(33.69, 15.88, -30.70)
CIE-LCHlch(33.69, 34.56, 297.35°)
OKLaboklab(43.45% 0.0224 -0.0864)
OKLCHoklch(43.45% 0.089 284.5)
XYZxyz(9.2582, 7.8598, 21.4472)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4980 #7D8049
analogous
#496280 #4C4980 #684980
triadic
#4C4980 #804C49 #49804C
tetradic
#4C4980 #804962 #7D8049 #498068
square
#4C4980 #804962 #7D8049 #498068
split-complementary
#4C4980 #806849 #628049
monochromatic
#1E1D32 #353359 #4C4980 #6561A5 #8B88BB

Accessibility & contrast

On white

8.16
#4C4980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4C4980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4980
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4980#FFFFFF#000000##FFFFFF
##4C49801.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365182
Deuteranopia (green-blind)
#344E7F
Tritanopia (blue-blind)
#3D545E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c4980;
/* rgb */ color: rgb(76, 73, 128);
/* oklch */ color: oklch(43.5% 0.089 284.5);
Tailwind
colors: {
  custom: {
    50: '#807ba5',
    500: '#4c4980',
    950: '#000000',
  },
}
SCSS
$custom: #4c4980;
$custom-light: #807ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4980",
  "rgb": {
    "r": 76,
    "g": 73,
    "b": 128
  },
  "hsl": {
    "h": 243.273,
    "s": 27.363,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43453,
    "c": 0.08929,
    "h": 284.5
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#4C4980
secondary
#A5A77E
accent
#C464BE
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4C4980

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

Preview Lab → · Contrast checker → · Palette generator →

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