#504CC3#504CC3
#504CC3 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.1% C 0.180 H 278.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #504CC3 |
|---|---|
| RGB | rgb(80, 76, 195) |
| HSL | hsl(242, 50%, 53%) |
| HSV | hsv(242, 61%, 76%) |
| CMYK | cmyk(59%, 61%, 0%, 23.5%) |
| CIE-LAB | lab(39.26, 36.36, -61.92) |
| CIE-LCH | lch(39.26, 71.81, 300.42°) |
| OKLab | oklab(49.13% 0.028 -0.178) |
| OKLCH | oklch(49.13% 0.18 278.9) |
| XYZ | xyz(15.7399, 10.8134, 52.8769) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.47
Iris
#6258C4
ΔE00 4.32
Blue With A Hint Of Purple
#533CC6
ΔE00 4.44
Bluey Purple
#6241C7
ΔE00 4.44
Warm Blue
#4B57DB
ΔE00 4.75
Blue Blue
#2242C7
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504CC3 #BFC34C
analogous
#4C83C3 #504CC3 #8B4CC3
triadic
#504CC3 #C3504C #4CC350
tetradic
#504CC3 #C34C83 #BFC34C #4CC38B
square
#504CC3 #C34C83 #BFC34C #4CC38B
split-complementary
#504CC3 #C38B4C #83C34C
monochromatic
#28256F #38359D #504CC3 #7D7AD2 #AAA8E2
Accessibility & contrast
On white
6.64
#504CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#504CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504CC3
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504CC3 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006980
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #504cc3; /* rgb */ color: rgb(80, 76, 195); /* oklch */ color: oklch(49.1% 0.180 278.9);
Tailwind
colors: {
custom: {
50: '#8c7ed6',
500: '#504cc3',
950: '#000000',
},
}SCSS
$custom: #504cc3; $custom-light: #8c7ed6; $custom-dark: #000000;
JSON
{
"hex": "#504cc3",
"rgb": {
"r": 80,
"g": 76,
"b": 195
},
"hsl": {
"h": 242.017,
"s": 49.791,
"l": 53.137
},
"oklch": {
"l": 0.49133,
"c": 0.18019,
"h": 278.9
},
"luminance": 0.10814
}Semantic roles & 50–950 ramp
primary
#504CC3
secondary
#CDCF9C
accent
#D94ED5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83