#504C8D#504C8D
#504C8D is a mid, moderate blue. Relative luminance 0.088; OKLCH L 45.2% C 0.104 H 284.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #504C8D |
|---|---|
| RGB | rgb(80, 76, 141) |
| HSL | hsl(244, 30%, 43%) |
| HSV | hsv(244, 46%, 55%) |
| CMYK | cmyk(43.3%, 46.1%, 0%, 44.7%) |
| CIE-LAB | lab(35.59, 19.05, -35.65) |
| CIE-LCH | lch(35.59, 40.42, 298.11°) |
| OKLab | oklab(45.22% 0.0255 -0.1008) |
| OKLCH | oklch(45.22% 0.104 284.2) |
| XYZ | xyz(10.6990, 8.7970, 26.3284) |
| Luminance | 0.0880 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.22
Blueberry
#464196
ΔE00 4.62
Dusk
#4E5481
ΔE00 4.69
Darkslateblue
#483D8B
ΔE00 4.86
Ocean Blue
#4F42B5
ΔE00 7.98
Dusky Blue
#475F94
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504C8D #898D4C
analogous
#4C698D #504C8D #704C8D
triadic
#504C8D #8D504C #4C8D50
tetradic
#504C8D #8D4C69 #898D4C #4C8D70
square
#504C8D #8D4C69 #898D4C #4C8D70
split-complementary
#504C8D #8D704C #698D4C
monochromatic
#23213D #393765 #504C8D #6D68AE #9390C3
Accessibility & contrast
On white
7.61
#504C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#504C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504C8D
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504C8D | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#3E5965
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #504c8d; /* rgb */ color: rgb(80, 76, 141); /* oklch */ color: oklch(45.2% 0.104 284.2);
Tailwind
colors: {
custom: {
50: '#847eaf',
500: '#504c8d',
950: '#000000',
},
}SCSS
$custom: #504c8d; $custom-light: #847eaf; $custom-dark: #000000;
JSON
{
"hex": "#504c8d",
"rgb": {
"r": 80,
"g": 76,
"b": 141
},
"hsl": {
"h": 243.692,
"s": 29.954,
"l": 42.549
},
"oklch": {
"l": 0.45223,
"c": 0.10399,
"h": 284.2
},
"luminance": 0.08797
}Semantic roles & 50–950 ramp
primary
#504C8D
secondary
#ADAF85
accent
#C662C0
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F