#504BAE#504BAE
#504BAE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.153 H 281.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #504BAE |
|---|---|
| RGB | rgb(80, 75, 174) |
| HSL | hsl(243, 40%, 49%) |
| HSV | hsv(243, 57%, 68%) |
| CMYK | cmyk(54%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(37.47, 30.17, -52.49) |
| CIE-LCH | lch(37.47, 60.54, 299.89°) |
| OKLab | oklab(47.32% 0.0294 -0.1503) |
| OKLCH | oklch(47.32% 0.153 281.1) |
| XYZ | xyz(13.4620, 9.7928, 41.2170) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.96
Blueberry
#464196
ΔE00 4.60
Iris
#6258C4
ΔE00 5.52
Blue With A Hint Of Purple
#533CC6
ΔE00 5.57
Bluey Purple
#6241C7
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504BAE #A9AE4B
analogous
#4B78AE #504BAE #824BAE
triadic
#504BAE #AE504B #4BAE50
tetradic
#504BAE #AE4B78 #A9AE4B #4BAE82
square
#504BAE #AE4B78 #A9AE4B #4BAE82
split-complementary
#504BAE #AE824B #78AE4B
monochromatic
#292658 #3C3983 #504BAE #7773C3 #A19ED5
Accessibility & contrast
On white
7.10
#504BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#504BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504BAE
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504BAE | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#266275
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #504bae; /* rgb */ color: rgb(80, 75, 174); /* oklch */ color: oklch(47.3% 0.153 281.1);
Tailwind
colors: {
custom: {
50: '#897dc7',
500: '#504bae',
950: '#000000',
},
}SCSS
$custom: #504bae; $custom-light: #897dc7; $custom-dark: #000000;
JSON
{
"hex": "#504bae",
"rgb": {
"r": 80,
"g": 75,
"b": 174
},
"hsl": {
"h": 243.03,
"s": 39.759,
"l": 48.824
},
"oklch": {
"l": 0.47316,
"c": 0.15312,
"h": 281.1
},
"luminance": 0.09794
}Semantic roles & 50–950 ramp
primary
#504BAE
secondary
#C0C293
accent
#D058CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82