#4D488C#4D488C
#4D488C is a dark, moderate blue. Relative luminance 0.081; OKLCH L 44.1% C 0.109 H 284.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4D488C |
|---|---|
| RGB | rgb(77, 72, 140) |
| HSL | hsl(244, 32%, 42%) |
| HSV | hsv(244, 49%, 55%) |
| CMYK | cmyk(45%, 48.6%, 0%, 45.1%) |
| CIE-LAB | lab(34.20, 20.52, -37.27) |
| CIE-LCH | lch(34.20, 42.54, 298.84°) |
| OKLab | oklab(44.09% 0.027 -0.1056) |
| OKLCH | oklch(44.09% 0.109 284.3) |
| XYZ | xyz(10.1102, 8.1055, 25.8377) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.33
Blueberry
#464196
ΔE00 3.51
Darkslateblue
#483D8B
ΔE00 3.55
Dusk
#4E5481
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 7.47
Cobalt (survey)
#1E488F
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D488C #878C48
analogous
#48658C #4D488C #6F488C
triadic
#4D488C #8C4D48 #488C4D
tetradic
#4D488C #8C4865 #878C48 #488C6F
square
#4D488C #8C4865 #878C48 #488C6F
split-complementary
#4D488C #8C6F48 #658C48
monochromatic
#211E3B #373364 #4D488C #6863AF #8F8BC3
Accessibility & contrast
On white
8.01
#4D488C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#4D488C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D488C
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D488C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D488C | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D538E
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#395663
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4d488c; /* rgb */ color: rgb(77, 72, 140); /* oklch */ color: oklch(44.1% 0.109 284.3);
Tailwind
colors: {
custom: {
50: '#837bae',
500: '#4d488c',
950: '#000000',
},
}SCSS
$custom: #4d488c; $custom-light: #837bae; $custom-dark: #000000;
JSON
{
"hex": "#4d488c",
"rgb": {
"r": 77,
"g": 72,
"b": 140
},
"hsl": {
"h": 244.412,
"s": 32.075,
"l": 41.569
},
"oklch": {
"l": 0.4409,
"c": 0.10902,
"h": 284.3
},
"luminance": 0.08106
}Semantic roles & 50–950 ramp
primary
#4D488C
secondary
#ACAF81
accent
#C860C1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F