#504ACD#504ACD
#504ACD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.6% C 0.196 H 278.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #504ACD |
|---|---|
| RGB | rgb(80, 74, 205) |
| HSL | hsl(243, 57%, 55%) |
| HSV | hsv(243, 64%, 80%) |
| CMYK | cmyk(61%, 63.9%, 0%, 19.6%) |
| CIE-LAB | lab(39.60, 40.81, -67.18) |
| CIE-LCH | lch(39.60, 78.61, 301.28°) |
| OKLab | oklab(49.62% 0.0291 -0.1935) |
| OKLCH | oklch(49.62% 0.196 278.6) |
| XYZ | xyz(16.7730, 11.0095, 58.9869) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 3.92
Bluey Purple
#6241C7
ΔE00 3.93
Ocean Blue
#4F42B5
ΔE00 4.04
Warm Blue
#4B57DB
ΔE00 4.45
Blurple
#5539CC
ΔE00 4.46
Iris
#6258C4
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504ACD #C7CD4A
analogous
#4A86CD #504ACD #924ACD
triadic
#504ACD #CD504A #4ACD50
tetradic
#504ACD #CD4A86 #C7CD4A #4ACD92
square
#504ACD #CD4A86 #C7CD4A #4ACD92
split-complementary
#504ACD #CD924A #86CD4A
monochromatic
#26227B #352FAB #504ACD #7E7ADA #ADAAE7
Accessibility & contrast
On white
6.56
#504ACD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#504ACD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504ACD
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504ACD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504ACD | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #504acd; /* rgb */ color: rgb(80, 74, 205); /* oklch */ color: oklch(49.6% 0.196 278.6);
Tailwind
colors: {
custom: {
50: '#8e7ddd',
500: '#504acd',
950: '#000000',
},
}SCSS
$custom: #504acd; $custom-light: #8e7ddd; $custom-dark: #000000;
JSON
{
"hex": "#504acd",
"rgb": {
"r": 80,
"g": 74,
"b": 205
},
"hsl": {
"h": 242.748,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.49623,
"c": 0.19565,
"h": 278.6
},
"luminance": 0.11011
}Semantic roles & 50–950 ramp
primary
#504ACD
secondary
#D2D59E
accent
#E048D9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83