#504FD5#504FD5
#504FD5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.200 H 277.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #504FD5 |
|---|---|
| RGB | rgb(80, 79, 213) |
| HSL | hsl(240, 61%, 57%) |
| HSV | hsv(240, 63%, 84%) |
| CMYK | cmyk(62.4%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(41.37, 40.41, -68.89) |
| CIE-LCH | lch(41.37, 79.87, 300.40°) |
| OKLab | oklab(51.12% 0.0243 -0.1984) |
| OKLCH | oklch(51.12% 0.2 277) |
| XYZ | xyz(18.1106, 12.1001, 64.3191) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.72
Iris
#6258C4
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 5.00
Bluey Purple
#6241C7
ΔE00 5.27
Purpleish Blue
#6140EF
ΔE00 5.36
Light Indigo
#6D5ACF
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504FD5 #D4D54F
analogous
#4F91D5 #504FD5 #934FD5
triadic
#504FD5 #D5504F #4FD550
tetradic
#504FD5 #D54F91 #D4D54F #4FD593
square
#504FD5 #D54F91 #D4D54F #4FD593
split-complementary
#504FD5 #D5934F #91D54F
monochromatic
#212189 #2E2CBA #504FD5 #8180E1 #B2B2ED
Accessibility & contrast
On white
6.14
#504FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#504FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504FD5
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504FD5 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005CD2
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #504fd5; /* rgb */ color: rgb(80, 79, 213); /* oklch */ color: oklch(51.1% 0.200 277.0);
Tailwind
colors: {
custom: {
50: '#8f81e3',
500: '#504fd5',
950: '#000000',
},
}SCSS
$custom: #504fd5; $custom-light: #8f81e3; $custom-dark: #000000;
JSON
{
"hex": "#504fd5",
"rgb": {
"r": 80,
"g": 79,
"b": 213
},
"hsl": {
"h": 240.448,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.51122,
"c": 0.19993,
"h": 277
},
"luminance": 0.12102
}Semantic roles & 50–950 ramp
primary
#504FD5
secondary
#DBDBA5
accent
#E543E3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84