#4D477F#4D477F

#4D477F is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.1% C 0.091 H 286.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4D477F
RGBrgb(77, 71, 127)
HSLhsl(246, 28%, 39%)
HSVhsv(246, 44%, 50%)
CMYKcmyk(39.4%, 44.1%, 0%, 50.2%)
CIE-LABlab(33.17, 17.16, -30.89)
CIE-LCHlch(33.17, 35.34, 299.05°)
OKLaboklab(43.06% 0.0263 -0.087)
OKLCHoklch(43.06% 0.091 286.8)
XYZxyz(9.1435, 7.6163, 21.0629)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D477F #797F47
analogous
#475D7F #4D477F #69477F
triadic
#4D477F #7F4D47 #477F4D
tetradic
#4D477F #7F475D #797F47 #477F69
square
#4D477F #7F475D #797F47 #477F69
split-complementary
#4D477F #7F6947 #5D7F47
monochromatic
#1D1B30 #353158 #4D477F #665EA5 #8B85BB

Accessibility & contrast

On white

8.32
#4D477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D477F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D477F#FFFFFF#000000##FFFFFF
##4D477F1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#334C7E
Tritanopia (blue-blind)
#3F525D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d477f;
/* rgb */ color: rgb(77, 71, 127);
/* oklch */ color: oklch(43.1% 0.091 286.8);
Tailwind
colors: {
  custom: {
    50: '#817aa4',
    500: '#4d477f',
    950: '#000000',
  },
}
SCSS
$custom: #4d477f;
$custom-light: #817aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d477f",
  "rgb": {
    "r": 77,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 246.429,
    "s": 28.283,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43063,
    "c": 0.09088,
    "h": 286.8
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#4D477F
secondary
#A2A77B
accent
#C563BA
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A090F
muted
#7C7B7F

Preview Lab

Preview with #4D477F

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

Preview Lab → · Contrast checker → · Palette generator →

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