#504FC3#504FC3
#504FC3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.7% C 0.176 H 278.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #504FC3 |
|---|---|
| RGB | rgb(80, 79, 195) |
| HSL | hsl(241, 49%, 54%) |
| HSV | hsv(241, 59%, 76%) |
| CMYK | cmyk(59%, 59.5%, 0%, 23.5%) |
| CIE-LAB | lab(39.98, 34.52, -60.76) |
| CIE-LCH | lch(39.98, 69.89, 299.60°) |
| OKLab | oklab(49.66% 0.0252 -0.1746) |
| OKLCH | oklch(49.66% 0.176 278.2) |
| XYZ | xyz(15.9514, 11.2364, 52.9474) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.75
Warm Blue
#4B57DB
ΔE00 4.14
Ocean Blue
#4F42B5
ΔE00 4.25
Bluey Purple
#6241C7
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.33
Blue With A Hint Of Purple
#533CC6
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504FC3 #C2C34F
analogous
#4F88C3 #504FC3 #8A4FC3
triadic
#504FC3 #C3504F #4FC350
tetradic
#504FC3 #C34F88 #C2C34F #4FC38A
square
#504FC3 #C34F88 #C2C34F #4FC38A
split-complementary
#504FC3 #C38A4F #88C34F
monochromatic
#272771 #37369F #504FC3 #7D7DD3 #ABAAE2
Accessibility & contrast
On white
6.47
#504FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#504FC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504FC3
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504FC3 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #504fc3; /* rgb */ color: rgb(80, 79, 195); /* oklch */ color: oklch(49.7% 0.176 278.2);
Tailwind
colors: {
custom: {
50: '#8c80d6',
500: '#504fc3',
950: '#000000',
},
}SCSS
$custom: #504fc3; $custom-light: #8c80d6; $custom-dark: #000000;
JSON
{
"hex": "#504fc3",
"rgb": {
"r": 80,
"g": 79,
"b": 195
},
"hsl": {
"h": 240.517,
"s": 49.153,
"l": 53.725
},
"oklch": {
"l": 0.49657,
"c": 0.17639,
"h": 278.2
},
"luminance": 0.11238
}Semantic roles & 50–950 ramp
primary
#504FC3
secondary
#CFD09E
accent
#D94FD8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83