#4C477D#4C477D

#4C477D is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.9% C 0.088 H 286.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4C477D
RGBrgb(76, 71, 125)
HSLhsl(246, 28%, 38%)
HSVhsv(246, 43%, 49%)
CMYKcmyk(39.2%, 43.2%, 0%, 51%)
CIE-LABlab(32.97, 16.26, -29.97)
CIE-LCHlch(32.97, 34.10, 298.49°)
OKLaboklab(42.85% 0.0247 -0.0843)
OKLCHoklch(42.85% 0.088 286.3)
XYZxyz(8.9344, 7.5234, 20.3795)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C477D #787D47
analogous
#475D7D #4C477D #67477D
triadic
#4C477D #7D4C47 #477D4C
tetradic
#4C477D #7D475D #787D47 #477D67
square
#4C477D #7D475D #787D47 #477D67
split-complementary
#4C477D #7D6747 #5D7D47
monochromatic
#1D1B2F #343156 #4C477D #645EA3 #8A85BA

Accessibility & contrast

On white

8.38
#4C477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4C477D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C477D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C477D#FFFFFF#000000##FFFFFF
##4C477D1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#3F515C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c477d;
/* rgb */ color: rgb(76, 71, 125);
/* oklch */ color: oklch(42.9% 0.088 286.3);
Tailwind
colors: {
  custom: {
    50: '#807aa3',
    500: '#4c477d',
    950: '#000000',
  },
}
SCSS
$custom: #4c477d;
$custom-light: #807aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c477d",
  "rgb": {
    "r": 76,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 245.556,
    "s": 27.551,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42852,
    "c": 0.08787,
    "h": 286.3
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#4C477D
secondary
#A1A57A
accent
#C464BB
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4C477D

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

Preview Lab → · Contrast checker → · Palette generator →

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