#4C4C82#4C4C82

#4C4C82 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.2% C 0.088 H 282.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4C4C82
RGBrgb(76, 76, 130)
HSLhsl(240, 26%, 40%)
HSVhsv(240, 42%, 51%)
CMYKcmyk(41.5%, 41.5%, 0%, 49%)
CIE-LABlab(34.63, 14.55, -30.44)
CIE-LCHlch(34.63, 33.74, 295.54°)
OKLaboklab(44.21% 0.0185 -0.0857)
OKLCHoklch(44.21% 0.088 282.2)
XYZxyz(9.5930, 8.3167, 22.2146)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4C82 #82824C
analogous
#4C6782 #4C4C82 #674C82
triadic
#4C4C82 #824C4C #4C824C
tetradic
#4C4C82 #824C67 #82824C #4C8267
square
#4C4C82 #824C67 #82824C #4C8267
split-complementary
#4C4C82 #82674C #67824C
monochromatic
#1F1F35 #35355B #4C4C82 #6666A5 #8C8CBC

Accessibility & contrast

On white

7.88
#4C4C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4C4C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C4C82
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4C82#FFFFFF#000000##FFFFFF
##4C4C821.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#375081
Tritanopia (blue-blind)
#3C5760
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c4c82;
/* rgb */ color: rgb(76, 76, 130);
/* oklch */ color: oklch(44.2% 0.088 282.2);
Tailwind
colors: {
  custom: {
    50: '#817ea6',
    500: '#4c4c82',
    950: '#000000',
  },
}
SCSS
$custom: #4c4c82;
$custom-light: #817ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4c82",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 26.214,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.08766,
    "h": 282.2
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#4C4C82
secondary
#A8A881
accent
#C365C3
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4C4C82

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

Preview Lab → · Contrast checker → · Palette generator →

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