#504FD3#504FD3
#504FD3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.0% C 0.197 H 277.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #504FD3 |
|---|---|
| RGB | rgb(80, 79, 211) |
| HSL | hsl(240, 60%, 57%) |
| HSV | hsv(240, 63%, 83%) |
| CMYK | cmyk(62.1%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(41.21, 39.76, -68.00) |
| CIE-LCH | lch(41.21, 78.77, 300.31°) |
| OKLab | oklab(50.96% 0.0245 -0.1958) |
| OKLCH | oklch(50.96% 0.197 277.1) |
| XYZ | xyz(17.8583, 11.9992, 62.9904) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.81
Iris
#6258C4
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.99
Bluey Purple
#6241C7
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.37
Dark Periwinkle
#665FD1
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#504FD3 #D2D34F
analogous
#4F90D3 #504FD3 #924FD3
triadic
#504FD3 #D3504F #4FD350
tetradic
#504FD3 #D34F90 #D2D34F #4FD392
square
#504FD3 #D34F90 #D2D34F #4FD392
split-complementary
#504FD3 #D3924F #90D34F
monochromatic
#222286 #2F2EB7 #504FD3 #8180DF #B1B1EB
Accessibility & contrast
On white
6.18
#504FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#504FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #504FD3
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##504FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##504FD3 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #504fd3; /* rgb */ color: rgb(80, 79, 211); /* oklch */ color: oklch(51.0% 0.197 277.1);
Tailwind
colors: {
custom: {
50: '#8f81e1',
500: '#504fd3',
950: '#000000',
},
}SCSS
$custom: #504fd3; $custom-light: #8f81e1; $custom-dark: #000000;
JSON
{
"hex": "#504fd3",
"rgb": {
"r": 80,
"g": 79,
"b": 211
},
"hsl": {
"h": 240.455,
"s": 60,
"l": 56.863
},
"oklch": {
"l": 0.50955,
"c": 0.19737,
"h": 277.1
},
"luminance": 0.12001
}Semantic roles & 50–950 ramp
primary
#504FD3
secondary
#D9DAA4
accent
#E345E2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83