#504CAE#504CAE
#504CAE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.152 H 280.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #504CAE |
|---|---|
| RGB | rgb(80, 76, 174) |
| HSL | hsl(242, 39%, 49%) |
| HSV | hsv(242, 56%, 68%) |
| CMYK | cmyk(54%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(37.72, 29.54, -52.09) |
| CIE-LCH | lch(37.72, 59.88, 299.56°) |
| OKLab | oklab(47.5% 0.0283 -0.1491) |
| OKLCH | oklch(47.5% 0.152 280.8) |
| XYZ | xyz(13.5303, 9.9295, 41.2398) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.26
Blueberry
#464196
ΔE00 4.76
Iris
#6258C4
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.82
Bluey Purple
#6241C7
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504CAE #AAAE4C
analogous
#4C79AE #504CAE #814CAE
triadic
#504CAE #AE504C #4CAE50
tetradic
#504CAE #AE4C79 #AAAE4C #4CAE81
square
#504CAE #AE4C79 #AAAE4C #4CAE81
split-complementary
#504CAE #AE814C #79AE4C
monochromatic
#292759 #3C3983 #504CAE #7875C3 #A19FD5
Accessibility & contrast
On white
7.03
#504CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#504CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #504CAE
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504CAE | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055CB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#266375
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #504cae; /* rgb */ color: rgb(80, 76, 174); /* oklch */ color: oklch(47.5% 0.152 280.8);
Tailwind
colors: {
custom: {
50: '#897ec7',
500: '#504cae',
950: '#000000',
},
}SCSS
$custom: #504cae; $custom-light: #897ec7; $custom-dark: #000000;
JSON
{
"hex": "#504cae",
"rgb": {
"r": 80,
"g": 76,
"b": 174
},
"hsl": {
"h": 242.449,
"s": 39.2,
"l": 49.02
},
"oklch": {
"l": 0.475,
"c": 0.15176,
"h": 280.8
},
"luminance": 0.0993
}Semantic roles & 50–950 ramp
primary
#504CAE
secondary
#C0C294
accent
#CF59CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82