#504FC6#504FC6
#504FC6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.180 H 278.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #504FC6 |
|---|---|
| RGB | rgb(80, 79, 198) |
| HSL | hsl(241, 51%, 54%) |
| HSV | hsv(241, 60%, 78%) |
| CMYK | cmyk(59.6%, 60.1%, 0%, 22.4%) |
| CIE-LAB | lab(40.20, 35.51, -62.14) |
| CIE-LCH | lch(40.20, 71.57, 299.74°) |
| OKLab | oklab(49.9% 0.0251 -0.1786) |
| OKLCH | oklch(49.9% 0.18 278) |
| XYZ | xyz(16.2940, 11.3735, 54.7518) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.74
Warm Blue
#4B57DB
ΔE00 3.83
Ocean Blue
#4F42B5
ΔE00 4.45
Bluey Purple
#6241C7
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.21
Blue With A Hint Of Purple
#533CC6
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504FC6 #C5C64F
analogous
#4F8AC6 #504FC6 #8C4FC6
triadic
#504FC6 #C6504F #4FC650
tetradic
#504FC6 #C64F8A #C5C64F #4FC68C
square
#504FC6 #C64F8A #C5C64F #4FC68C
split-complementary
#504FC6 #C68C4F #8AC64F
monochromatic
#262675 #3635A3 #504FC6 #7E7DD5 #ACABE4
Accessibility & contrast
On white
6.41
#504FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#504FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504FC6
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504FC6 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #504fc6; /* rgb */ color: rgb(80, 79, 198); /* oklch */ color: oklch(49.9% 0.180 278.0);
Tailwind
colors: {
custom: {
50: '#8c80d8',
500: '#504fc6',
950: '#000000',
},
}SCSS
$custom: #504fc6; $custom-light: #8c80d8; $custom-dark: #000000;
JSON
{
"hex": "#504fc6",
"rgb": {
"r": 80,
"g": 79,
"b": 198
},
"hsl": {
"h": 240.504,
"s": 51.073,
"l": 54.314
},
"oklch": {
"l": 0.49895,
"c": 0.18037,
"h": 278
},
"luminance": 0.11375
}Semantic roles & 50–950 ramp
primary
#504FC6
secondary
#D1D29F
accent
#DB4DD9
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83