#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 |
|---|---|
| RGB | rgb(77, 71, 127) |
| HSL | hsl(246, 28%, 39%) |
| HSV | hsv(246, 44%, 50%) |
| CMYK | cmyk(39.4%, 44.1%, 0%, 50.2%) |
| CIE-LAB | lab(33.17, 17.16, -30.89) |
| CIE-LCH | lch(33.17, 35.34, 299.05°) |
| OKLab | oklab(43.06% 0.0263 -0.087) |
| OKLCH | oklch(43.06% 0.091 286.8) |
| XYZ | xyz(9.1435, 7.6163, 21.0629) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.90
Darkslateblue
#483D8B
ΔE00 4.92
Dusk
#4E5481
ΔE00 5.01
Blueberry
#464196
ΔE00 5.86
Ocean Blue
#4F42B5
ΔE00 10.05
Cobalt (survey)
#1E488F
ΔE00 10.10
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 |
|---|---|---|---|---|
| ##4D477F | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.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