#504BCD#504BCD
#504BCD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.8% C 0.194 H 278.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #504BCD |
|---|---|
| RGB | rgb(80, 75, 205) |
| HSL | hsl(242, 57%, 55%) |
| HSV | hsv(242, 63%, 80%) |
| CMYK | cmyk(61%, 63.4%, 0%, 19.6%) |
| CIE-LAB | lab(39.82, 40.22, -66.82) |
| CIE-LCH | lch(39.82, 77.99, 301.04°) |
| OKLab | oklab(49.79% 0.0283 -0.1924) |
| OKLCH | oklch(49.79% 0.194 278.4) |
| XYZ | xyz(16.8403, 11.1441, 59.0094) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 4.20
Blue With A Hint Of Purple
#533CC6
ΔE00 4.20
Ocean Blue
#4F42B5
ΔE00 4.21
Iris
#6258C4
ΔE00 4.62
Blurple
#5539CC
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504BCD #C8CD4B
analogous
#4B87CD #504BCD #914BCD
triadic
#504BCD #CD504B #4BCD50
tetradic
#504BCD #CD4B87 #C8CD4B #4BCD91
square
#504BCD #CD4B87 #C8CD4B #4BCD91
split-complementary
#504BCD #CD914B #87CD4B
monochromatic
#26227B #3430AB #504BCD #7F7BDA #ADABE8
Accessibility & contrast
On white
6.50
#504BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#504BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504BCD
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504BCD | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#006C85
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #504bcd; /* rgb */ color: rgb(80, 75, 205); /* oklch */ color: oklch(49.8% 0.194 278.4);
Tailwind
colors: {
custom: {
50: '#8e7edd',
500: '#504bcd',
950: '#000000',
},
}SCSS
$custom: #504bcd; $custom-light: #8e7edd; $custom-dark: #000000;
JSON
{
"hex": "#504bcd",
"rgb": {
"r": 80,
"g": 75,
"b": 205
},
"hsl": {
"h": 242.308,
"s": 56.522,
"l": 54.902
},
"oklch": {
"l": 0.49787,
"c": 0.19444,
"h": 278.4
},
"luminance": 0.11145
}Semantic roles & 50–950 ramp
primary
#504BCD
secondary
#D3D59F
accent
#E048DA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83