#504BC1#504BC1
#504BC1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.179 H 279.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #504BC1 |
|---|---|
| RGB | rgb(80, 75, 193) |
| HSL | hsl(243, 49%, 53%) |
| HSV | hsv(243, 61%, 76%) |
| CMYK | cmyk(58.5%, 61.1%, 0%, 24.3%) |
| CIE-LAB | lab(38.88, 36.33, -61.39) |
| CIE-LCH | lch(38.88, 71.33, 300.61°) |
| OKLab | oklab(48.8% 0.029 -0.1764) |
| OKLCH | oklch(48.8% 0.179 279.3) |
| XYZ | xyz(15.4469, 10.5868, 51.6712) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.07
Blue With A Hint Of Purple
#533CC6
ΔE00 4.19
Bluey Purple
#6241C7
ΔE00 4.28
Iris
#6258C4
ΔE00 4.56
Blurple
#5539CC
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504BC1 #BCC14B
analogous
#4B81C1 #504BC1 #8B4BC1
triadic
#504BC1 #C1504B #4BC150
tetradic
#504BC1 #C14B81 #BCC14B #4BC18B
square
#504BC1 #C14B81 #BCC14B #4BC18B
split-complementary
#504BC1 #C18B4B #81C14B
monochromatic
#28256C #39359A #504BC1 #7C79D1 #A9A6E0
Accessibility & contrast
On white
6.74
#504BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#504BC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504BC1
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504BC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504BC1 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #504bc1; /* rgb */ color: rgb(80, 75, 193); /* oklch */ color: oklch(48.8% 0.179 279.3);
Tailwind
colors: {
custom: {
50: '#8c7dd5',
500: '#504bc1',
950: '#000000',
},
}SCSS
$custom: #504bc1; $custom-light: #8c7dd5; $custom-dark: #000000;
JSON
{
"hex": "#504bc1",
"rgb": {
"r": 80,
"g": 75,
"b": 193
},
"hsl": {
"h": 242.542,
"s": 48.76,
"l": 52.549
},
"oklch": {
"l": 0.48799,
"c": 0.17881,
"h": 279.3
},
"luminance": 0.10588
}Semantic roles & 50–950 ramp
primary
#504BC1
secondary
#CBCE9A
accent
#D84FD3
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83