#4C4C80#4C4C80

#4C4C80 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.085 H 282.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4C4C80
RGBrgb(76, 76, 128)
HSLhsl(240, 25%, 40%)
HSVhsv(240, 41%, 50%)
CMYKcmyk(40.6%, 40.6%, 0%, 49.8%)
CIE-LABlab(34.53, 13.93, -29.38)
CIE-LCHlch(34.53, 32.51, 295.37°)
OKLaboklab(44.09% 0.0181 -0.0826)
OKLCHoklch(44.09% 0.085 282.4)
XYZxyz(9.4601, 8.2635, 21.5145)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C80 #80804C
analogous
#4C6680 #4C4C80 #664C80
triadic
#4C4C80 #804C4C #4C804C
tetradic
#4C4C80 #804C66 #80804C #4C8066
square
#4C4C80 #804C66 #80804C #4C8066
split-complementary
#4C4C80 #80664C #66804C
monochromatic
#1E1E33 #35355A #4C4C80 #6565A4 #8C8CBB

Accessibility & contrast

On white

7.92
#4C4C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C4C80
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4C80#FFFFFF#000000##FFFFFF
##4C4C801.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5382
Deuteranopia (green-blind)
#384F7F
Tritanopia (blue-blind)
#3D5660
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c4c80;
/* rgb */ color: rgb(76, 76, 128);
/* oklch */ color: oklch(44.1% 0.085 282.4);
Tailwind
colors: {
  custom: {
    50: '#807ea5',
    500: '#4c4c80',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c80;
$custom-light: #807ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c80",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 128
  },
  "hsl": {
    "h": 240,
    "s": 25.49,
    "l": 40
  },
  "oklch": {
    "l": 0.44092,
    "c": 0.08455,
    "h": 282.4
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#4C4C80
secondary
#A7A781
accent
#C266C2
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4C4C80

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

Preview Lab → · Contrast checker → · Palette generator →

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